Subversion Repositories SmartDukaan

Rev

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

Rev 22963 Rev 23033
Line 16... Line 16...
16
 
16
 
17
import org.hibernate.annotations.UpdateTimestamp;
17
import org.hibernate.annotations.UpdateTimestamp;
18
 
18
 
19
import com.spice.profitmandi.dao.convertor.LocalDateTimeAttributeConverter;
19
import com.spice.profitmandi.dao.convertor.LocalDateTimeAttributeConverter;
20
import com.spice.profitmandi.dao.enumuration.dtr.MonthlySaleVolume;
20
import com.spice.profitmandi.dao.enumuration.dtr.MonthlySaleVolume;
-
 
21
import com.spice.profitmandi.dao.enumuration.dtr.PrimaryBuyingMode;
21
import com.spice.profitmandi.dao.enumuration.dtr.RetailerType;
22
import com.spice.profitmandi.dao.enumuration.dtr.RetailerType;
22
import com.spice.profitmandi.dao.enumuration.dtr.SaleValue;
23
import com.spice.profitmandi.dao.enumuration.dtr.SaleValue;
23
 
24
 
24
/**
25
/**
25
 * This class basically contains api details
26
 * This class basically contains api details
Line 69... Line 70...
69
	private SaleValue monthlySaleValue;
70
	private SaleValue monthlySaleValue;
70
	
71
	
71
	@Column(name = "monthly_sale_volume")
72
	@Column(name = "monthly_sale_volume")
72
	private MonthlySaleVolume monthlySaleVolume;
73
	private MonthlySaleVolume monthlySaleVolume;
73
	
74
	
-
 
75
	@Column(name = "primary_buying_mode")
-
 
76
	private PrimaryBuyingMode primaryBuyingMode;
-
 
77
	
74
	@Column(name = "recharge", columnDefinition="tinyint(1) default 0")
78
	@Column(name = "recharge", columnDefinition="tinyint(1) default 0")
75
	private boolean recharge;
79
	private boolean recharge;
76
	
80
	
77
	@Column(name = "mobile", columnDefinition="tinyint(1) default 0")
81
	@Column(name = "mobile", columnDefinition="tinyint(1) default 0")
78
	private boolean mobile;
82
	private boolean mobile;
Line 141... Line 145...
141
	}
145
	}
142
    public void setMonthlySaleVolume(MonthlySaleVolume monthlySaleVolume) {
146
    public void setMonthlySaleVolume(MonthlySaleVolume monthlySaleVolume) {
143
		this.monthlySaleVolume = monthlySaleVolume;
147
		this.monthlySaleVolume = monthlySaleVolume;
144
	}
148
	}
145
    
149
    
-
 
150
    public PrimaryBuyingMode getPrimaryBuyingMode() {
-
 
151
		return primaryBuyingMode;
-
 
152
	}
-
 
153
    public void setPrimaryBuyingMode(PrimaryBuyingMode primaryBuyingMode) {
-
 
154
		this.primaryBuyingMode = primaryBuyingMode;
-
 
155
	}
-
 
156
    
146
    public boolean isRecharge() {
157
    public boolean isRecharge() {
147
		return recharge;
158
		return recharge;
148
	}
159
	}
149
    public void setRecharge(boolean recharge) {
160
    public void setRecharge(boolean recharge) {
150
		this.recharge = recharge;
161
		this.recharge = recharge;
Line 251... Line 262...
251
		return true;
262
		return true;
252
	}
263
	}
253
	@Override
264
	@Override
254
	public String toString() {
265
	public String toString() {
255
		return "Retailer [id=" + id + ", name=" + name + ", number=" + number + ", type=" + type + ", monthlySaleValue="
266
		return "Retailer [id=" + id + ", name=" + name + ", number=" + number + ", type=" + type + ", monthlySaleValue="
256
				+ monthlySaleValue + ", monthlySaleVolume=" + monthlySaleVolume + ", recharge=" + recharge
267
				+ monthlySaleValue + ", monthlySaleVolume=" + monthlySaleVolume + ", primaryBuyingMode="
257
				+ ", mobile=" + mobile + ", accessories=" + accessories + ", other1=" + other1 + ", other2=" + other2
268
				+ primaryBuyingMode + ", recharge=" + recharge + ", mobile=" + mobile + ", accessories=" + accessories
258
				+ ", selfPickup=" + selfPickup + ", active=" + active + ", migrated=" + migrated + ", createTimestamp="
269
				+ ", other1=" + other1 + ", other2=" + other2 + ", selfPickup=" + selfPickup + ", active=" + active
259
				+ createTimestamp + ", updateTimestamp=" + updateTimestamp + ", documentId="
270
				+ ", migrated=" + migrated + ", createTimestamp=" + createTimestamp + ", updateTimestamp="
260
				+ documentId + ", currentAddressId=" + currentAddressId + "]";
271
				+ updateTimestamp + ", documentId=" + documentId + ", currentAddressId=" + currentAddressId + "]";
261
	}
272
	}
262
	   
273
	   
263
    
274
    
264
        
275
        
265
}
276
}
266
277