Subversion Repositories SmartDukaan

Rev

Rev 34752 | Rev 36374 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34752 Rev 35099
Line 1... Line 1...
1
package com.spice.profitmandi.dao.entity.catalog;
1
package com.spice.profitmandi.dao.entity.catalog;
2
 
2
 
-
 
3
import com.spice.profitmandi.common.util.FormattingUtils;
3
import com.spice.profitmandi.dao.convertor.LocalDateTimeAttributeConverter;
4
import com.spice.profitmandi.dao.convertor.LocalDateTimeAttributeConverter;
4
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
5
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
5
import com.spice.profitmandi.dao.enumuration.catalog.AmountType;
6
import com.spice.profitmandi.dao.enumuration.catalog.AmountType;
6
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
7
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
7
 
8
 
Line 176... Line 177...
176
 
177
 
177
	public void setSchemeValue(float schemeValue) {
178
	public void setSchemeValue(float schemeValue) {
178
		this.schemeValue = schemeValue;
179
		this.schemeValue = schemeValue;
179
	}
180
	}
180
 
181
 
-
 
182
	public String getSchemePeriod() {
-
 
183
		return FormattingUtils.formatDateMonthNonHyphenated(this.getStartDateTime()) + " - " + FormattingUtils.formatDateMonthNonHyphenated(this.getEndDateTime());
-
 
184
	}
-
 
185
 
181
	@Column(name = "partner_type")
186
	@Column(name = "partner_type")
182
	@Enumerated(EnumType.STRING)
187
	@Enumerated(EnumType.STRING)
183
	private PartnerType partnerType;
188
	private PartnerType partnerType;
184
 
189
 
185
	@Override
190
	@Override