Subversion Repositories SmartDukaan

Rev

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

Rev 24085 Rev 24087
Line 23... Line 23...
23
 
23
 
24
	@Id
24
	@Id
25
	@Column(name = "id")
25
	@Column(name = "id")
26
	@GeneratedValue(strategy = GenerationType.IDENTITY)
26
	@GeneratedValue(strategy = GenerationType.IDENTITY)
27
	private int id;
27
	private int id;
28
	
-
 
29
	@Column(name = "item_id")
-
 
30
	private int itemId;
-
 
31
	
28
 
32
	@Column(name = "catalog_id")
29
	@Column(name = "catalog_id")
33
	private int catalogId;
30
	private int catalogId;
34
	
31
	
35
	@Column(name = "advance_amount")
32
	@Column(name = "advance_amount")
36
	private float advanceAmount;
33
	private float advanceAmount;
Line 72... Line 69...
72
 
69
 
73
	public void setCatalogId(int catalogId) {
70
	public void setCatalogId(int catalogId) {
74
		this.catalogId = catalogId;
71
		this.catalogId = catalogId;
75
	}
72
	}
76
 
73
 
77
	public int getItemId() {
-
 
78
		return itemId;
-
 
79
	}
-
 
80
 
-
 
81
	public void setItemId(int itemId) {
-
 
82
		this.itemId = itemId;
-
 
83
	}
-
 
84
 
-
 
85
	public float getAdvanceAmount() {
74
	public float getAdvanceAmount() {
86
		return advanceAmount;
75
		return advanceAmount;
87
	}
76
	}
88
 
77
 
89
	public void setAdvanceAmount(float advanceAmount) {
78
	public void setAdvanceAmount(float advanceAmount) {
Line 184... Line 173...
184
		return true;
173
		return true;
185
	}
174
	}
186
 
175
 
187
	@Override
176
	@Override
188
	public String toString() {
177
	public String toString() {
189
		return "PrebookingListing [id=" + id + ", itemId=" + itemId + ", catalogId=" + catalogId + ", advanceAmount="
178
		return "PrebookingListing [id=" + id + ", catalogId=" + catalogId + ", advanceAmount=" + advanceAmount
190
				+ advanceAmount + ", tentativeAmount=" + tentativeAmount + ", createdBy=" + createdBy
179
				+ ", tentativeAmount=" + tentativeAmount + ", createdBy=" + createdBy + ", activeTimestamp="
191
				+ ", activeTimestamp=" + activeTimestamp + ", expireTimestamp=" + expireTimestamp + ", createTimestamp="
180
				+ activeTimestamp + ", expireTimestamp=" + expireTimestamp + ", createTimestamp=" + createTimestamp
192
				+ createTimestamp + ", description=" + description + "]";
181
				+ ", description=" + description + "]";
193
	}
182
	}
194
	
183
	
195
}
184
}