Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
37764 amit 1
package com.spice.profitmandi.dao.entity.fofo;
2
 
3
import com.spice.profitmandi.dao.enumuration.fofo.StoreClosureReason;
4
 
5
import javax.persistence.*;
6
import java.time.LocalDateTime;
7
 
8
@Entity
9
@Table(name = "fofo.store_closure")
10
public class StoreClosure {
11
 
12
	@Id
13
	@Column(name = "id")
14
	@GeneratedValue(strategy = GenerationType.IDENTITY)
15
	private int id;
16
 
17
	@Column(name = "fofo_id")
18
	private int fofoId;
19
 
20
	@Enumerated(EnumType.STRING)
21
	@Column(name = "reason")
22
	private StoreClosureReason reason;
23
 
24
	@Column(name = "remark")
25
	private String remark;
26
 
27
	@Column(name = "approval_document_id")
28
	private int approvalDocumentId;
29
 
30
	@Column(name = "closed_by")
31
	private String closedBy;
32
 
33
	@Column(name = "create_timestamp")
34
	private LocalDateTime createTimestamp;
35
 
36
	public int getId() {
37
		return id;
38
	}
39
 
40
	public void setId(int id) {
41
		this.id = id;
42
	}
43
 
44
	public int getFofoId() {
45
		return fofoId;
46
	}
47
 
48
	public void setFofoId(int fofoId) {
49
		this.fofoId = fofoId;
50
	}
51
 
52
	public StoreClosureReason getReason() {
53
		return reason;
54
	}
55
 
56
	public void setReason(StoreClosureReason reason) {
57
		this.reason = reason;
58
	}
59
 
60
	public String getRemark() {
61
		return remark;
62
	}
63
 
64
	public void setRemark(String remark) {
65
		this.remark = remark;
66
	}
67
 
68
	public int getApprovalDocumentId() {
69
		return approvalDocumentId;
70
	}
71
 
72
	public void setApprovalDocumentId(int approvalDocumentId) {
73
		this.approvalDocumentId = approvalDocumentId;
74
	}
75
 
76
	public String getClosedBy() {
77
		return closedBy;
78
	}
79
 
80
	public void setClosedBy(String closedBy) {
81
		this.closedBy = closedBy;
82
	}
83
 
84
	public LocalDateTime getCreateTimestamp() {
85
		return createTimestamp;
86
	}
87
 
88
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
89
		this.createTimestamp = createTimestamp;
90
	}
91
 
92
	@Override
93
	public String toString() {
94
		return "StoreClosure [id=" + id + ", fofoId=" + fofoId + ", reason=" + reason + ", remark=" + remark
95
				+ ", approvalDocumentId=" + approvalDocumentId + ", closedBy=" + closedBy + ", createTimestamp="
96
				+ createTimestamp + "]";
97
	}
98
}