Subversion Repositories SmartDukaan

Rev

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

Rev 26629 Rev 26721
Line 36... Line 36...
36
	private int quantity;
36
	private int quantity;
37
 
37
 
38
	@Column(name = "selling_price")
38
	@Column(name = "selling_price")
39
	private float sellingPrice;
39
	private float sellingPrice;
40
 
40
 
-
 
41
	@Column(name = "status")
-
 
42
	private String status;
-
 
43
 
41
	@Convert(converter = LocalDateTimeAttributeConverter.class)
44
	@Convert(converter = LocalDateTimeAttributeConverter.class)
42
	@Column(name = "create_timestamp")
45
	@Column(name = "create_timestamp")
43
	private LocalDateTime createTimestamp = LocalDateTime.now();
46
	private LocalDateTime createTimestamp = LocalDateTime.now();
44
 
47
 
-
 
48
	public String getStatus() {
-
 
49
		return status;
-
 
50
	}
-
 
51
 
-
 
52
	public void setStatus(String status) {
-
 
53
		this.status = status;
-
 
54
	}
-
 
55
 
45
	public int getId() {
56
	public int getId() {
46
		return id;
57
		return id;
47
	}
58
	}
48
 
59
 
49
	public void setId(int id) {
60
	public void setId(int id) {
Line 95... Line 106...
95
	}
106
	}
96
 
107
 
97
	@Override
108
	@Override
98
	public String toString() {
109
	public String toString() {
99
		return "PendingOrderItem [id=" + id + ", orderId=" + orderId + ", itemId=" + itemId + ", quantity=" + quantity
110
		return "PendingOrderItem [id=" + id + ", orderId=" + orderId + ", itemId=" + itemId + ", quantity=" + quantity
100
				+ ", sellingPrice=" + sellingPrice + ", createTimestamp=" + createTimestamp + "]";
111
				+ ", sellingPrice=" + sellingPrice + ", status=" + status + ", createTimestamp=" + createTimestamp
-
 
112
				+ "]";
101
	}
113
	}
102
 
114
 
103
}
115
}