Subversion Repositories SmartDukaan

Rev

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