Subversion Repositories SmartDukaan

Rev

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

Rev 24094 Rev 26332
Line -... Line 1...
-
 
1
 
1
package com.spice.profitmandi.dao.entity.fofo;
2
package com.spice.profitmandi.dao.entity.fofo;
2
 
3
 
3
import java.io.Serializable;
4
import java.io.Serializable;
4
import java.time.LocalDateTime;
5
import java.time.LocalDateTime;
5
import java.util.Set;
6
import java.util.Set;
Line 44... Line 45...
44
	private float sellingPrice;
45
	private float sellingPrice;
45
	
46
	
46
	@Column(name = "cost")
47
	@Column(name = "cost")
47
	private float cost;
48
	private float cost;
48
	
49
	
-
 
50
	
-
 
51
	@Column(name = "mop")
-
 
52
	private float mop;
-
 
53
	
49
	@Column(name = "igst_rate")
54
	@Column(name = "igst_rate")
50
	private float igstRate;
55
	private float igstRate;
51
	
56
	
52
	@Column(name = "cgst_rate")
57
	@Column(name = "cgst_rate")
53
	private float cgstRate;
58
	private float cgstRate;
Line 91... Line 96...
91
	
96
	
92
	@OneToMany(cascade=CascadeType.ALL,fetch=FetchType.EAGER)
97
	@OneToMany(cascade=CascadeType.ALL,fetch=FetchType.EAGER)
93
	@JoinColumn(name="fofo_order_item_id",insertable=false,updatable=false,nullable=false)
98
	@JoinColumn(name="fofo_order_item_id",insertable=false,updatable=false,nullable=false)
94
	private Set<FofoLineItem> fofoLineItems;
99
	private Set<FofoLineItem> fofoLineItems;
95
	
100
	
-
 
101
	
96
	public int getId() {
102
	public int getId() {
97
		return id;
103
		return id;
98
	}
104
	}
99
	public void setId(int id) {
105
	public void setId(int id) {
100
		this.id = id;
106
		this.id = id;
Line 129... Line 135...
129
	}
135
	}
130
	public void setCost(float cost) {
136
	public void setCost(float cost) {
131
		this.cost = cost;
137
		this.cost = cost;
132
	}
138
	}
133
	
139
	
-
 
140
	
-
 
141
	public float getMop() {
-
 
142
		return mop;
-
 
143
	}
-
 
144
	public void setMop(float mop) {
-
 
145
		this.mop = mop;
-
 
146
	}
134
	public float getIgstRate() {
147
	public float getIgstRate() {
135
		return igstRate;
148
		return igstRate;
136
	}
149
	}
137
	public void setIgstRate(float igstRate) {
150
	public void setIgstRate(float igstRate) {
138
		this.igstRate = igstRate;
151
		this.igstRate = igstRate;
Line 157... Line 170...
157
	}
170
	}
158
	
171
	
159
	public float getDp() {
172
	public float getDp() {
160
		return dp;
173
		return dp;
161
	}
174
	}
-
 
175
 
162
	public void setDp(float dp) {
176
	public void setDp(float dp) {
163
		this.dp = dp;
177
		this.dp = dp;
164
	}
178
	}
165
	public String getBrand() {
179
	public String getBrand() {
166
		return brand;
180
		return brand;
Line 230... Line 244...
230
		return true;
244
		return true;
231
	}
245
	}
232
	@Override
246
	@Override
233
	public String toString() {
247
	public String toString() {
234
		return "FofoOrderItem [id=" + id + ", orderId=" + orderId + ", itemId=" + itemId + ", quantity=" + quantity
248
		return "FofoOrderItem [id=" + id + ", orderId=" + orderId + ", itemId=" + itemId + ", quantity=" + quantity
235
				+ ", sellingPrice=" + sellingPrice + ", cost=" + cost + ", igstRate=" + igstRate + ", cgstRate="
249
				+ ", sellingPrice=" + sellingPrice + ", cost=" + cost + ", mop=" + mop + ", igstRate=" + igstRate
236
				+ cgstRate + ", sgstRate=" + sgstRate + ", hsnCode=" + hsnCode + ", dp=" + dp + ", brand=" + brand
250
				+ ", cgstRate=" + cgstRate + ", sgstRate=" + sgstRate + ", hsnCode=" + hsnCode + ", dp=" + dp
237
				+ ", modelName=" + modelName + ", modelNumber=" + modelNumber + ", color=" + color + ", discount="
251
				+ ", brand=" + brand + ", modelName=" + modelName + ", modelNumber=" + modelNumber + ", color=" + color
238
				+ discount + ", doa=" + doa + ", createTimestamp=" + createTimestamp + ", fofoLineItems="
252
				+ ", discount=" + discount + ", doa=" + doa + ", createTimestamp=" + createTimestamp
239
				+ fofoLineItems + "]";
253
				+ ", fofoLineItems=" + fofoLineItems + "]";
240
	}
254
	}
241
	
255
	
242
	
256
	
243
	
257
	
244
}
258
}