Subversion Repositories SmartDukaan

Rev

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

Rev 22352 Rev 22859
Line 86... Line 86...
86
	private Float priceDropAmount;
86
	private Float priceDropAmount;
87
	
87
	
88
	@Column(name = "buy_back", columnDefinition = "tinyint(1) default 1")
88
	@Column(name = "buy_back", columnDefinition = "tinyint(1) default 1")
89
	private boolean buyBack;
89
	private boolean buyBack;
90
	
90
	
-
 
91
	@Column(name = "igst_rate")
-
 
92
	private float igstRate;
-
 
93
	
-
 
94
	@Column(name = "cgst_rate")
-
 
95
	private float cgstRate;
-
 
96
	
-
 
97
	@Column(name = "sgst_rate")
-
 
98
	private float sgstRate;
-
 
99
	
-
 
100
	@Column(name = "hsn_code")
-
 
101
	private String hsnCode;
-
 
102
	
91
	@Convert(converter = LocalDateTimeAttributeConverter.class)
103
	@Convert(converter = LocalDateTimeAttributeConverter.class)
92
	@Column(name = "create_timestamp")
104
	@Column(name = "create_timestamp")
93
	private LocalDateTime createTimestamp = LocalDateTime.now();
105
	private LocalDateTime createTimestamp = LocalDateTime.now();
94
	
106
	
95
	@Convert(converter = LocalDateTimeAttributeConverter.class)
107
	@Convert(converter = LocalDateTimeAttributeConverter.class)
Line 183... Line 195...
183
		return priceDropAmount;
195
		return priceDropAmount;
184
	}
196
	}
185
	public void setPriceDropAmount(Float priceDropAmount) {
197
	public void setPriceDropAmount(Float priceDropAmount) {
186
		this.priceDropAmount = priceDropAmount;
198
		this.priceDropAmount = priceDropAmount;
187
	}
199
	}
-
 
200
	
-
 
201
	public float getIgstRate() {
-
 
202
		return igstRate;
-
 
203
	}
-
 
204
	public void setIgstRate(float igstRate) {
-
 
205
		this.igstRate = igstRate;
-
 
206
	}
-
 
207
	public float getCgstRate() {
-
 
208
		return cgstRate;
-
 
209
	}
-
 
210
	public void setCgstRate(float cgstRate) {
-
 
211
		this.cgstRate = cgstRate;
-
 
212
	}
-
 
213
	public float getSgstRate() {
-
 
214
		return sgstRate;
-
 
215
	}
-
 
216
	public void setSgstRate(float sgstRate) {
-
 
217
		this.sgstRate = sgstRate;
-
 
218
	}
-
 
219
	public String getHsnCode() {
-
 
220
		return hsnCode;
-
 
221
	}
-
 
222
	public void setHsnCode(String hsnCode) {
-
 
223
		this.hsnCode = hsnCode;
-
 
224
	}
188
 
225
 
189
	public LocalDateTime getCreateTimestamp() {
226
	public LocalDateTime getCreateTimestamp() {
190
		return createTimestamp;
227
		return createTimestamp;
191
	}
228
	}
192
 
229
 
Line 242... Line 279...
242
	public String toString() {
279
	public String toString() {
243
		return "InventoryItem [id=" + id + ", itemId=" + itemId + ", fofoId=" + fofoId + ", serialNumber="
280
		return "InventoryItem [id=" + id + ", itemId=" + itemId + ", fofoId=" + fofoId + ", serialNumber="
244
				+ serialNumber + ", initialQuantity=" + initialQuantity + ", goodQuantity=" + goodQuantity
281
				+ serialNumber + ", initialQuantity=" + initialQuantity + ", goodQuantity=" + goodQuantity
245
				+ ", badQuantity=" + badQuantity + ", lastScanType=" + lastScanType + ", purchaseId=" + purchaseId
282
				+ ", badQuantity=" + badQuantity + ", lastScanType=" + lastScanType + ", purchaseId=" + purchaseId
246
				+ ", unitPrice=" + unitPrice + ", priceDropAmount=" + priceDropAmount + ", buyBack=" + buyBack
283
				+ ", unitPrice=" + unitPrice + ", priceDropAmount=" + priceDropAmount + ", buyBack=" + buyBack
-
 
284
				+ ", igstRate=" + igstRate + ", cgstRate=" + cgstRate + ", sgstRate=" + sgstRate + ", hsnCode="
247
				+ ", createTimestamp=" + createTimestamp + ", updateTimestamp=" + updateTimestamp + ", item=" + item
285
				+ hsnCode + ", createTimestamp=" + createTimestamp + ", updateTimestamp=" + updateTimestamp + ", item="
248
				+ "]";
286
				+ item + "]";
249
	}
287
	}
250
 
288
 
251
	
289
	
252
}
290
}