Subversion Repositories SmartDukaan

Rev

Rev 31860 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25899 tejbeer 1
package com.spice.profitmandi.dao.entity.user;
2
 
34265 ranu 3
import com.spice.profitmandi.dao.enumuration.dtr.CommunicationType;
4
 
5
import javax.persistence.*;
25899 tejbeer 6
import java.time.LocalDateTime;
7
 
8
@Entity
31860 tejbeer 9
@Table(name = "user.lead_activity")
25899 tejbeer 10
public class LeadActivity {
11
 
12
	@Id
13
	@Column(name = "id", unique = true, updatable = false)
14
	@GeneratedValue(strategy = GenerationType.IDENTITY)
15
	private int id;
16
 
17
	@Column(name = "lead_id")
18
	private int leadId;
19
 
25930 amit.gupta 20
	@Column(name = "schedule_timestamp")
25899 tejbeer 21
	private LocalDateTime schelduleTimestamp;
22
 
26958 tejbeer 23
	@Column(name = "closure_timestamp")
24
	private LocalDateTime closureTimestamp;
25
 
25899 tejbeer 26
	@Column(name = "remark")
27
	private String remark;
28
 
31249 tejbeer 29
	@Column(name = "communication_type")
30
	@Enumerated(EnumType.STRING)
31
	private CommunicationType communicationType;
32
 
33
	@Column(name = "auth_id")
34
	private int authId;
35
 
34265 ranu 36
	@Column(name = "potential")
37
	private double potential;
38
 
39
	@Column(name = "outlet_name")
40
	private String outletName;
41
 
26958 tejbeer 42
	public LocalDateTime getClosureTimestamp() {
43
		return closureTimestamp;
44
	}
45
 
46
	public void setClosureTimestamp(LocalDateTime closureTimestamp) {
47
		this.closureTimestamp = closureTimestamp;
48
	}
49
 
25899 tejbeer 50
	@Column(name = "created_timestamp")
51
	private LocalDateTime createdTimestamp;
52
 
53
	public int getId() {
54
		return id;
55
	}
56
 
57
	public void setId(int id) {
58
		this.id = id;
59
	}
60
 
61
	public int getLeadId() {
62
		return leadId;
63
	}
64
 
65
	public void setLeadId(int leadId) {
66
		this.leadId = leadId;
67
	}
68
 
69
	public LocalDateTime getSchelduleTimestamp() {
70
		return schelduleTimestamp;
71
	}
72
 
73
	public void setSchelduleTimestamp(LocalDateTime schelduleTimestamp) {
74
		this.schelduleTimestamp = schelduleTimestamp;
75
	}
76
 
31249 tejbeer 77
	public CommunicationType getCommunicationType() {
78
		return communicationType;
79
	}
80
 
81
	public void setCommunicationType(CommunicationType communicationType) {
82
		this.communicationType = communicationType;
83
	}
84
 
85
	public int getAuthId() {
86
		return authId;
87
	}
88
 
89
	public void setAuthId(int authId) {
90
		this.authId = authId;
91
	}
92
 
25899 tejbeer 93
	public String getRemark() {
94
		return remark;
95
	}
96
 
97
	public void setRemark(String remark) {
98
		this.remark = remark;
99
	}
100
 
101
	public LocalDateTime getCreatedTimestamp() {
102
		return createdTimestamp;
103
	}
104
 
105
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
106
		this.createdTimestamp = createdTimestamp;
107
	}
108
 
34265 ranu 109
	public double getPotential() {
110
		return potential;
111
	}
112
 
113
	public void setPotential(double potential) {
114
		this.potential = potential;
115
	}
116
 
117
	public String getOutletName() {
118
		return outletName;
119
	}
120
 
121
	public void setOutletName(String outletName) {
122
		this.outletName = outletName;
123
	}
124
 
25899 tejbeer 125
	@Override
126
	public String toString() {
34265 ranu 127
		return "LeadActivity{" +
128
				"id=" + id +
129
				", leadId=" + leadId +
130
				", schelduleTimestamp=" + schelduleTimestamp +
131
				", closureTimestamp=" + closureTimestamp +
132
				", remark='" + remark + '\'' +
133
				", communicationType=" + communicationType +
134
				", authId=" + authId +
135
				", potential=" + potential +
136
				", outletName='" + outletName + '\'' +
137
				", createdTimestamp=" + createdTimestamp +
138
				'}';
25899 tejbeer 139
	}
140
}