Subversion Repositories SmartDukaan

Rev

Rev 26958 | Rev 31860 | Go to most recent revision | 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
 
3
import java.time.LocalDateTime;
4
 
5
import javax.persistence.Column;
6
import javax.persistence.Entity;
31249 tejbeer 7
import javax.persistence.EnumType;
8
import javax.persistence.Enumerated;
25899 tejbeer 9
import javax.persistence.GeneratedValue;
10
import javax.persistence.GenerationType;
11
import javax.persistence.Id;
12
import javax.persistence.Table;
13
 
31249 tejbeer 14
import com.spice.profitmandi.dao.enumuration.dtr.CommunicationType;
15
 
25899 tejbeer 16
@Entity
17
@Table(name = "user.lead_activity", schema = "user")
18
public class LeadActivity {
19
 
20
	@Id
21
	@Column(name = "id", unique = true, updatable = false)
22
	@GeneratedValue(strategy = GenerationType.IDENTITY)
23
	private int id;
24
 
25
	@Column(name = "lead_id")
26
	private int leadId;
27
 
25930 amit.gupta 28
	@Column(name = "schedule_timestamp")
25899 tejbeer 29
	private LocalDateTime schelduleTimestamp;
30
 
26958 tejbeer 31
	@Column(name = "closure_timestamp")
32
	private LocalDateTime closureTimestamp;
33
 
25899 tejbeer 34
	@Column(name = "remark")
35
	private String remark;
36
 
31249 tejbeer 37
	@Column(name = "communication_type")
38
	@Enumerated(EnumType.STRING)
39
	private CommunicationType communicationType;
40
 
41
	@Column(name = "auth_id")
42
	private int authId;
43
 
26958 tejbeer 44
	public LocalDateTime getClosureTimestamp() {
45
		return closureTimestamp;
46
	}
47
 
48
	public void setClosureTimestamp(LocalDateTime closureTimestamp) {
49
		this.closureTimestamp = closureTimestamp;
50
	}
51
 
25899 tejbeer 52
	@Column(name = "created_timestamp")
53
	private LocalDateTime createdTimestamp;
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 LocalDateTime getSchelduleTimestamp() {
72
		return schelduleTimestamp;
73
	}
74
 
75
	public void setSchelduleTimestamp(LocalDateTime schelduleTimestamp) {
76
		this.schelduleTimestamp = schelduleTimestamp;
77
	}
78
 
31249 tejbeer 79
	public CommunicationType getCommunicationType() {
80
		return communicationType;
81
	}
82
 
83
	public void setCommunicationType(CommunicationType communicationType) {
84
		this.communicationType = communicationType;
85
	}
86
 
87
	public int getAuthId() {
88
		return authId;
89
	}
90
 
91
	public void setAuthId(int authId) {
92
		this.authId = authId;
93
	}
94
 
25899 tejbeer 95
	public String getRemark() {
96
		return remark;
97
	}
98
 
99
	public void setRemark(String remark) {
100
		this.remark = remark;
101
	}
102
 
103
	public LocalDateTime getCreatedTimestamp() {
104
		return createdTimestamp;
105
	}
106
 
107
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
108
		this.createdTimestamp = createdTimestamp;
109
	}
110
 
111
	@Override
112
	public String toString() {
113
		return "LeadActivity [id=" + id + ", leadId=" + leadId + ", schelduleTimestamp=" + schelduleTimestamp
31249 tejbeer 114
				+ ", closureTimestamp=" + closureTimestamp + ", remark=" + remark + ", communicationType="
115
				+ communicationType + ", authId=" + authId + ", createdTimestamp=" + createdTimestamp + "]";
25899 tejbeer 116
	}
117
 
118
}