Subversion Repositories SmartDukaan

Rev

Rev 26105 | Go to most recent revision | Details | Last modification | View Log | RSS feed

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