Subversion Repositories SmartDukaan

Rev

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

Rev 21713 Rev 21895
Line 47... Line 47...
47
	
47
	
48
	@Enumerated(EnumType.STRING)
48
	@Enumerated(EnumType.STRING)
49
	@Column(name = "type")
49
	@Column(name = "type")
50
	private ItemType type;
50
	private ItemType type;
51
	
51
	
-
 
52
	@Column(name = "hsn_code")
-
 
53
	private String hsnCode;
-
 
54
	
52
	public int getId() {
55
	public int getId() {
53
		return id;
56
		return id;
54
	}
57
	}
55
	public void setId(int id) {
58
	public void setId(int id) {
56
		this.id = id;
59
		this.id = id;
Line 84... Line 87...
84
		return type;
87
		return type;
85
	}
88
	}
86
	public void setType(ItemType type) {
89
	public void setType(ItemType type) {
87
		this.type = type;
90
		this.type = type;
88
	}
91
	}
-
 
92
	
-
 
93
	public String getHsnCode() {
-
 
94
		return hsnCode;
-
 
95
	}
-
 
96
	public void setHsnCode(String hsnCode) {
-
 
97
		this.hsnCode = hsnCode;
-
 
98
	}
89
	@Override
99
	@Override
90
	public String toString() {
100
	public String toString() {
91
		return "Item [id=" + id + ", brand=" + brand + ", modelName=" + modelName + ", modelNumber=" + modelNumber
101
		return "Item [id=" + id + ", brand=" + brand + ", modelName=" + modelName + ", modelNumber=" + modelNumber
92
				+ ", color=" + color + ", type=" + type + "]";
102
				+ ", color=" + color + ", type=" + type + ", hsnCode="+ hsnCode + "]";
93
	}
103
	}
94
	
104
	
95
	
105
	
96
    
106
    
97
}
107
}
98
108