Subversion Repositories SmartDukaan

Rev

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

Rev 22009 Rev 22216
Line 53... Line 53...
53
	private ItemType type;
53
	private ItemType type;
54
	
54
	
55
	@Column(name = "hsnCode")
55
	@Column(name = "hsnCode")
56
	private String hsnCode;
56
	private String hsnCode;
57
	
57
	
-
 
58
	@Column(name = "sellingPrice")
-
 
59
	private float sellingPrice;
-
 
60
	
58
	public int getId() {
61
	public int getId() {
59
		return id;
62
		return id;
60
	}
63
	}
61
	public void setId(int id) {
64
	public void setId(int id) {
62
		this.id = id;
65
		this.id = id;
Line 105... Line 108...
105
	}
108
	}
106
	public void setCatalogItemId(int catalogItemId) {
109
	public void setCatalogItemId(int catalogItemId) {
107
		this.catalogItemId = catalogItemId;
110
		this.catalogItemId = catalogItemId;
108
	}
111
	}
109
	
112
	
-
 
113
	public float getSellingPrice() {
-
 
114
		return sellingPrice;
-
 
115
	}
-
 
116
	
-
 
117
	public void setSellingPrice(float sellingPrice) {
-
 
118
		this.sellingPrice = sellingPrice;
-
 
119
	}
110
	
120
	
111
	@Override
121
	@Override
112
	public int hashCode() {
122
	public int hashCode() {
113
		final int prime = 31;
123
		final int prime = 31;
114
		int result = 1;
124
		int result = 1;
Line 129... Line 139...
129
		return true;
139
		return true;
130
	}
140
	}
131
	@Override
141
	@Override
132
	public String toString() {
142
	public String toString() {
133
		return "Item [id=" + id + ", brand=" + brand + ", modelName=" + modelName + ", modelNumber=" + modelNumber
143
		return "Item [id=" + id + ", brand=" + brand + ", modelName=" + modelName + ", modelNumber=" + modelNumber
134
				+ ", color=" + color + ", type=" + type + ", hsnCode="+ hsnCode + ", catalogItemId=" + catalogItemId + "]";
144
				+ ", color=" + color + ", type=" + type + ", hsnCode="+ hsnCode + ", catalogItemId=" + catalogItemId + ", sellingPrice=" + sellingPrice + "]";
135
	}
145
	}
136
    
146
    
137
}
147
}
138
148