Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
36644 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_route")
9
public class LeadRoute {
10
 
11
	@Id
12
	@Column(name = "id", unique = true, updatable = false)
13
	@GeneratedValue(strategy = GenerationType.IDENTITY)
14
	private int id;
15
 
16
	@Column(name = "beat_id")
17
	private int beatId;
18
 
19
	@Column(name = "lead_id")
20
	private int leadId;
21
 
22
	@Column(name = "nearest_store_id")
23
	private Integer nearestStoreId;
24
 
25
	@Column(name = "schedule_date")
26
	private LocalDate scheduleDate;
27
 
28
	@Column(name = "sequence_order")
29
	private Integer sequenceOrder;
30
 
31
	@Column(name = "status")
32
	private String status;
33
 
34
	@Column(name = "approved_by")
35
	private int approvedBy;
36
 
37
	@Column(name = "requested_by")
38
	private int requestedBy;
39
 
40
	@Column(name = "approved_timestamp")
41
	private LocalDateTime approvedTimestamp;
42
 
43
	@Column(name = "remark")
44
	private String remark;
45
 
46
	@Column(name = "created_timestamp")
47
	private LocalDateTime createdTimestamp;
48
 
49
	@Column(name = "updated_timestamp")
50
	private LocalDateTime updatedTimestamp;
51
 
52
	public int getId() {
53
		return id;
54
	}
55
 
56
	public void setId(int id) {
57
		this.id = id;
58
	}
59
 
60
	public int getBeatId() {
61
		return beatId;
62
	}
63
 
64
	public void setBeatId(int beatId) {
65
		this.beatId = beatId;
66
	}
67
 
68
	public int getLeadId() {
69
		return leadId;
70
	}
71
 
72
	public void setLeadId(int leadId) {
73
		this.leadId = leadId;
74
	}
75
 
76
	public Integer getNearestStoreId() {
77
		return nearestStoreId;
78
	}
79
 
80
	public void setNearestStoreId(Integer nearestStoreId) {
81
		this.nearestStoreId = nearestStoreId;
82
	}
83
 
84
	public LocalDate getScheduleDate() {
85
		return scheduleDate;
86
	}
87
 
88
	public void setScheduleDate(LocalDate scheduleDate) {
89
		this.scheduleDate = scheduleDate;
90
	}
91
 
92
	public Integer getSequenceOrder() {
93
		return sequenceOrder;
94
	}
95
 
96
	public void setSequenceOrder(Integer sequenceOrder) {
97
		this.sequenceOrder = sequenceOrder;
98
	}
99
 
100
	public String getStatus() {
101
		return status;
102
	}
103
 
104
	public void setStatus(String status) {
105
		this.status = status;
106
	}
107
 
108
	public int getApprovedBy() {
109
		return approvedBy;
110
	}
111
 
112
	public void setApprovedBy(int approvedBy) {
113
		this.approvedBy = approvedBy;
114
	}
115
 
116
	public int getRequestedBy() {
117
		return requestedBy;
118
	}
119
 
120
	public void setRequestedBy(int requestedBy) {
121
		this.requestedBy = requestedBy;
122
	}
123
 
124
	public LocalDateTime getApprovedTimestamp() {
125
		return approvedTimestamp;
126
	}
127
 
128
	public void setApprovedTimestamp(LocalDateTime approvedTimestamp) {
129
		this.approvedTimestamp = approvedTimestamp;
130
	}
131
 
132
	public String getRemark() {
133
		return remark;
134
	}
135
 
136
	public void setRemark(String remark) {
137
		this.remark = remark;
138
	}
139
 
140
	public LocalDateTime getCreatedTimestamp() {
141
		return createdTimestamp;
142
	}
143
 
144
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
145
		this.createdTimestamp = createdTimestamp;
146
	}
147
 
148
	public LocalDateTime getUpdatedTimestamp() {
149
		return updatedTimestamp;
150
	}
151
 
152
	public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
153
		this.updatedTimestamp = updatedTimestamp;
154
	}
155
}