Subversion Repositories SmartDukaan

Rev

Rev 31860 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31860 Rev 34265
Line 1... Line 1...
1
package com.spice.profitmandi.dao.entity.user;
1
package com.spice.profitmandi.dao.entity.user;
2
 
2
 
3
import java.time.LocalDateTime;
-
 
4
 
-
 
5
import javax.persistence.Column;
-
 
6
import javax.persistence.Entity;
-
 
7
import javax.persistence.EnumType;
-
 
8
import javax.persistence.Enumerated;
-
 
9
import javax.persistence.GeneratedValue;
-
 
10
import javax.persistence.GenerationType;
-
 
11
import javax.persistence.Id;
-
 
12
import javax.persistence.Table;
-
 
13
 
-
 
14
import com.spice.profitmandi.dao.enumuration.dtr.CommunicationType;
3
import com.spice.profitmandi.dao.enumuration.dtr.CommunicationType;
15
 
4
 
-
 
5
import javax.persistence.*;
-
 
6
import java.time.LocalDateTime;
-
 
7
 
16
@Entity
8
@Entity
17
@Table(name = "user.lead_activity")
9
@Table(name = "user.lead_activity")
18
public class LeadActivity {
10
public class LeadActivity {
19
 
11
 
20
	@Id
12
	@Id
Line 39... Line 31...
39
	private CommunicationType communicationType;
31
	private CommunicationType communicationType;
40
 
32
 
41
	@Column(name = "auth_id")
33
	@Column(name = "auth_id")
42
	private int authId;
34
	private int authId;
43
 
35
 
-
 
36
	@Column(name = "potential")
-
 
37
	private double potential;
-
 
38
 
-
 
39
	@Column(name = "outlet_name")
-
 
40
	private String outletName;
-
 
41
 
44
	public LocalDateTime getClosureTimestamp() {
42
	public LocalDateTime getClosureTimestamp() {
45
		return closureTimestamp;
43
		return closureTimestamp;
46
	}
44
	}
47
 
45
 
48
	public void setClosureTimestamp(LocalDateTime closureTimestamp) {
46
	public void setClosureTimestamp(LocalDateTime closureTimestamp) {
Line 106... Line 104...
106
 
104
 
107
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
105
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
108
		this.createdTimestamp = createdTimestamp;
106
		this.createdTimestamp = createdTimestamp;
109
	}
107
	}
110
 
108
 
-
 
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
 
111
	@Override
125
	@Override
112
	public String toString() {
126
	public String toString() {
-
 
127
		return "LeadActivity{" +
-
 
128
				"id=" + id +
-
 
129
				", leadId=" + leadId +
113
		return "LeadActivity [id=" + id + ", leadId=" + leadId + ", schelduleTimestamp=" + schelduleTimestamp
130
				", schelduleTimestamp=" + schelduleTimestamp +
114
				+ ", closureTimestamp=" + closureTimestamp + ", remark=" + remark + ", communicationType="
131
				", closureTimestamp=" + closureTimestamp +
-
 
132
				", remark='" + remark + '\'' +
-
 
133
				", communicationType=" + communicationType +
-
 
134
				", authId=" + authId +
-
 
135
				", potential=" + potential +
-
 
136
				", outletName='" + outletName + '\'' +
115
				+ communicationType + ", authId=" + authId + ", createdTimestamp=" + createdTimestamp + "]";
137
				", createdTimestamp=" + createdTimestamp +
-
 
138
				'}';
116
	}
139
	}
117
 
-
 
118
}
140
}