Subversion Repositories SmartDukaan

Rev

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

Rev 23638 Rev 23654
Line 1... Line 1...
1
package com.spice.profitmandi.dao.entity.fofo;
1
package com.spice.profitmandi.dao.entity.fofo;
2
 
2
 
-
 
3
import java.time.LocalDateTime;
-
 
4
 
3
import javax.persistence.Column;
5
import javax.persistence.Column;
4
import javax.persistence.Entity;
6
import javax.persistence.Entity;
5
import javax.persistence.EnumType;
7
import javax.persistence.EnumType;
6
import javax.persistence.Enumerated;
8
import javax.persistence.Enumerated;
7
import javax.persistence.GeneratedValue;
9
import javax.persistence.GeneratedValue;
Line 25... Line 27...
25
	private int id;
27
	private int id;
26
	
28
	
27
	@Column(name = "fofo_id")
29
	@Column(name = "fofo_id")
28
	private int fofoId;
30
	private int fofoId;
29
	
31
	
30
	@Column(name="order_item_id")
32
	@Column(name="fofo_order_item_id")
31
	private int fofoOrderItemId;
33
	private int fofoOrderItemId;
32
	
34
	
33
	@Column(name = "inventory_item_id")
35
	@Column(name = "inventory_item_id")
34
	private int inventoryItemId;
36
	private int inventoryItemId;
35
	
37
	
36
	@Column(name = "quantity")
38
	@Column(name = "quantity")
37
	private int quantity;
39
	private int quantity;
38
	
40
	
-
 
41
	@Column(name = "remarks")
-
 
42
	private String remarks;
-
 
43
	
-
 
44
	public String getRemarks() {
-
 
45
		return remarks;
-
 
46
	}
-
 
47
 
-
 
48
	public void setRemarks(String remarks) {
-
 
49
		this.remarks = remarks;
-
 
50
	}
-
 
51
 
-
 
52
	public LocalDateTime getCreateTimestamp() {
-
 
53
		return createTimestamp;
-
 
54
	}
-
 
55
 
-
 
56
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
-
 
57
		this.createTimestamp = createTimestamp;
-
 
58
	}
-
 
59
 
39
	@Column(name = "type")
60
	@Column(name = "type")
40
	@Enumerated(EnumType.STRING)
61
	@Enumerated(EnumType.STRING)
41
	private ReturnType type;
62
	private ReturnType type;
42
	
63
	
43
	@Column(name="credit_note_id")
64
	@Column(name="credit_note_id")
44
	private int creditNoteId;
65
	private int creditNoteId;
45
	
66
	
-
 
67
	@Column(name="create_timestamp")
-
 
68
	private LocalDateTime createTimestamp = LocalDateTime.now();
-
 
69
	
46
	public int getId() {
70
	public int getId() {
47
		return id;
71
		return id;
48
	}
72
	}
49
 
73
 
50
	public void setId(int id) {
74
	public void setId(int id) {
Line 97... Line 121...
97
		this.creditNoteId = creditNoteId;
121
		this.creditNoteId = creditNoteId;
98
	}
122
	}
99
 
123
 
100
	@Override
124
	@Override
101
	public String toString() {
125
	public String toString() {
102
		return "CustomerReturn [id=" + id + ", fofoId=" + fofoId + ", fofoOrderItemId=" + fofoOrderItemId
126
		return "CustomerReturnItem [id=" + id + ", fofoId=" + fofoId + ", fofoOrderItemId=" + fofoOrderItemId
103
				+ ", inventoryItemId=" + inventoryItemId + ", quantity=" + quantity + ", type=" + type
127
				+ ", inventoryItemId=" + inventoryItemId + ", quantity=" + quantity + ", remarks=" + remarks + ", type="
104
				+ ", creditNoteId=" + creditNoteId + "]";
128
				+ type + ", creditNoteId=" + creditNoteId + ", createTimestamp=" + createTimestamp + "]";
105
	}
129
	}
106
	
130
	
107
	
-
 
108
	
-
 
109
}
131
}
110
132