Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
36642 ranu 1
package com.spice.profitmandi.dao.entity.user;
2
 
3
import javax.persistence.*;
4
import java.time.LocalDate;
5
import java.time.LocalDateTime;
6
 
7
@Entity
8
@Table(name = "user.lead_visit_approval")
9
public class LeadVisitApproval {
10
 
11
	@Id
12
	@Column(name = "id", unique = true, updatable = false)
13
	@GeneratedValue(strategy = GenerationType.IDENTITY)
14
	private int id;
15
 
16
	@Column(name = "lead_id")
17
	private int leadId;
18
 
19
	@Column(name = "assigned_to")
20
	private int assignedTo;
21
 
22
	@Column(name = "requested_by")
23
	private int requestedBy;
24
 
25
	@Column(name = "beat_plan_group_id")
26
	private String beatPlanGroupId;
27
 
28
	@Column(name = "beat_date")
29
	private LocalDate beatDate;
30
 
31
	@Column(name = "beat_name")
32
	private String beatName;
33
 
34
	@Column(name = "schedule_timestamp")
35
	private LocalDateTime scheduleTimestamp;
36
 
37
	@Column(name = "status")
38
	private String status;
39
 
40
	@Column(name = "approved_by")
41
	private int approvedBy;
42
 
43
	@Column(name = "approved_timestamp")
44
	private LocalDateTime approvedTimestamp;
45
 
46
	@Column(name = "remark")
47
	private String remark;
48
 
49
	@Column(name = "created_timestamp")
50
	private LocalDateTime createdTimestamp;
51
 
52
	@Column(name = "updated_timestamp")
53
	private LocalDateTime updatedTimestamp;
54
 
55
	public int getId() {
56
		return id;
57
	}
58
 
59
	public void setId(int id) {
60
		this.id = id;
61
	}
62
 
63
	public int getLeadId() {
64
		return leadId;
65
	}
66
 
67
	public void setLeadId(int leadId) {
68
		this.leadId = leadId;
69
	}
70
 
71
	public int getAssignedTo() {
72
		return assignedTo;
73
	}
74
 
75
	public void setAssignedTo(int assignedTo) {
76
		this.assignedTo = assignedTo;
77
	}
78
 
79
	public int getRequestedBy() {
80
		return requestedBy;
81
	}
82
 
83
	public void setRequestedBy(int requestedBy) {
84
		this.requestedBy = requestedBy;
85
	}
86
 
87
	public String getBeatPlanGroupId() {
88
		return beatPlanGroupId;
89
	}
90
 
91
	public void setBeatPlanGroupId(String beatPlanGroupId) {
92
		this.beatPlanGroupId = beatPlanGroupId;
93
	}
94
 
95
	public LocalDate getBeatDate() {
96
		return beatDate;
97
	}
98
 
99
	public void setBeatDate(LocalDate beatDate) {
100
		this.beatDate = beatDate;
101
	}
102
 
103
	public String getBeatName() {
104
		return beatName;
105
	}
106
 
107
	public void setBeatName(String beatName) {
108
		this.beatName = beatName;
109
	}
110
 
111
	public LocalDateTime getScheduleTimestamp() {
112
		return scheduleTimestamp;
113
	}
114
 
115
	public void setScheduleTimestamp(LocalDateTime scheduleTimestamp) {
116
		this.scheduleTimestamp = scheduleTimestamp;
117
	}
118
 
119
	public String getStatus() {
120
		return status;
121
	}
122
 
123
	public void setStatus(String status) {
124
		this.status = status;
125
	}
126
 
127
	public int getApprovedBy() {
128
		return approvedBy;
129
	}
130
 
131
	public void setApprovedBy(int approvedBy) {
132
		this.approvedBy = approvedBy;
133
	}
134
 
135
	public LocalDateTime getApprovedTimestamp() {
136
		return approvedTimestamp;
137
	}
138
 
139
	public void setApprovedTimestamp(LocalDateTime approvedTimestamp) {
140
		this.approvedTimestamp = approvedTimestamp;
141
	}
142
 
143
	public String getRemark() {
144
		return remark;
145
	}
146
 
147
	public void setRemark(String remark) {
148
		this.remark = remark;
149
	}
150
 
151
	public LocalDateTime getCreatedTimestamp() {
152
		return createdTimestamp;
153
	}
154
 
155
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
156
		this.createdTimestamp = createdTimestamp;
157
	}
158
 
159
	public LocalDateTime getUpdatedTimestamp() {
160
		return updatedTimestamp;
161
	}
162
 
163
	public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
164
		this.updatedTimestamp = updatedTimestamp;
165
	}
166
 
167
	@Override
168
	public String toString() {
169
		return "LeadVisitApproval [id=" + id + ", leadId=" + leadId + ", assignedTo=" + assignedTo
170
				+ ", beatDate=" + beatDate + ", beatName=" + beatName + ", status=" + status + "]";
171
	}
172
}