Subversion Repositories SmartDukaan

Rev

Rev 24917 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24917 tejbeer 1
package com.spice.profitmandi.dao.entity.transaction;
2
 
26105 tejbeer 3
import java.time.LocalDateTime;
4
 
24917 tejbeer 5
import javax.persistence.Column;
6
import javax.persistence.Entity;
7
import javax.persistence.EnumType;
8
import javax.persistence.Enumerated;
9
import javax.persistence.GeneratedValue;
10
import javax.persistence.GenerationType;
11
import javax.persistence.Id;
12
import javax.persistence.Table;
13
 
14
import com.spice.profitmandi.dao.repository.inventory.NotifyStatus;
15
 
16
@Entity
17
@Table(name = "transaction.notify_orders", schema = "transaction")
18
public class NotifyOrder {
19
	@Id
20
	@Column(name = "id", unique = true, updatable = false)
21
	@GeneratedValue(strategy = GenerationType.IDENTITY)
22
	private int id;
23
 
24
	@Column(name = "orderId")
25
	private int orderId;
26
 
27
	@Column(name = "notifyId")
28
	private int notifyId;
29
 
30
	@Column(name = "status")
31
	@Enumerated(EnumType.STRING)
32
	private NotifyStatus status;
33
 
34
	@Column(name = "itemId")
35
	private int itemId;
36
 
37
	@Column(name = "fofoId")
38
	private int fofoId;
39
 
26105 tejbeer 40
	@Column(name = "update_timestamp")
41
	private LocalDateTime updateTimestamp;
42
 
43
	public LocalDateTime getUpdateTimestamp() {
44
		return updateTimestamp;
45
	}
46
 
47
	public void setUpdateTimestamp(LocalDateTime updateTimestamp) {
48
		this.updateTimestamp = updateTimestamp;
49
	}
50
 
24917 tejbeer 51
	public int getId() {
52
		return id;
53
	}
54
 
55
	public void setId(int id) {
56
		this.id = id;
57
	}
58
 
59
	public int getOrderId() {
60
		return orderId;
61
	}
62
 
63
	public void setOrderId(int orderId) {
64
		this.orderId = orderId;
65
	}
66
 
67
	public int getNotifyId() {
68
		return notifyId;
69
	}
70
 
71
	public void setNotifyId(int notifyId) {
72
		this.notifyId = notifyId;
73
	}
74
 
75
	public NotifyStatus getStatus() {
76
		return status;
77
	}
78
 
79
	public void setStatus(NotifyStatus status) {
80
		this.status = status;
81
	}
82
 
83
	public int getItemId() {
84
		return itemId;
85
	}
86
 
87
	public void setItemId(int itemId) {
88
		this.itemId = itemId;
89
	}
90
 
91
	public int getFofoId() {
92
		return fofoId;
93
	}
94
 
95
	public void setFofoId(int fofoId) {
96
		this.fofoId = fofoId;
97
	}
98
 
99
	@Override
100
	public String toString() {
101
		return "NotifyOrder [id=" + id + ", orderId=" + orderId + ", notifyId=" + notifyId + ", status=" + status
26105 tejbeer 102
				+ ", itemId=" + itemId + ", fofoId=" + fofoId + ", updateTimestamp=" + updateTimestamp + "]";
24917 tejbeer 103
	}
104
 
105
}