Subversion Repositories SmartDukaan

Rev

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

Rev 21895 Rev 21898
Line 43... Line 43...
43
	private String modelNumber;
43
	private String modelNumber;
44
	
44
	
45
	@Column(name = "color", length = 20)
45
	@Column(name = "color", length = 20)
46
	private String color;
46
	private String color;
47
	
47
	
-
 
48
	@Column(name="catalog_item_id")
-
 
49
	private int catalogItemId;
-
 
50
	
48
	@Enumerated(EnumType.STRING)
51
	@Enumerated(EnumType.STRING)
49
	@Column(name = "type")
52
	@Column(name = "type")
50
	private ItemType type;
53
	private ItemType type;
51
	
54
	
52
	@Column(name = "hsn_code")
55
	@Column(name = "hsn_code")
Line 94... Line 97...
94
		return hsnCode;
97
		return hsnCode;
95
	}
98
	}
96
	public void setHsnCode(String hsnCode) {
99
	public void setHsnCode(String hsnCode) {
97
		this.hsnCode = hsnCode;
100
		this.hsnCode = hsnCode;
98
	}
101
	}
-
 
102
	
-
 
103
	public int getCatalogItemId() {
-
 
104
		return catalogItemId;
-
 
105
	}
-
 
106
	public void setCatalogItemId(int catalogItemId) {
-
 
107
		this.catalogItemId = catalogItemId;
-
 
108
	}
99
	@Override
109
	@Override
100
	public String toString() {
110
	public String toString() {
101
		return "Item [id=" + id + ", brand=" + brand + ", modelName=" + modelName + ", modelNumber=" + modelNumber
111
		return "Item [id=" + id + ", brand=" + brand + ", modelName=" + modelName + ", modelNumber=" + modelNumber
102
				+ ", color=" + color + ", type=" + type + ", hsnCode="+ hsnCode + "]";
112
				+ ", color=" + color + ", catalogItemId=" + catalogItemId + ", type=" + type + ", hsnCode=" + hsnCode
-
 
113
				+ "]";
103
	}
114
	}
104
	
115
	
105
	
116
	
106
    
117
    
107
}
118
}
108
119