Subversion Repositories SmartDukaan

Rev

Rev 25916 | Rev 26244 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25916 Rev 25979
Line 23... Line 23...
23
	private int id;
23
	private int id;
24
 
24
 
25
	@Column(name = "first_name")
25
	@Column(name = "first_name")
26
	private String firstName;
26
	private String firstName;
27
 
27
 
-
 
28
	@Column(name = "source")
-
 
29
	private String source;
-
 
30
 
-
 
31
	public String getSource() {
-
 
32
		return source;
-
 
33
	}
-
 
34
 
-
 
35
	public void setSource(String source) {
-
 
36
		this.source = source;
-
 
37
	}
-
 
38
 
28
	public String getFirstName() {
39
	public String getFirstName() {
29
		return firstName;
40
		return firstName;
30
	}
41
	}
31
 
42
 
32
	public void setFirstName(String firstName) {
43
	public void setFirstName(String firstName) {
Line 83... Line 94...
83
 
94
 
84
	@Column(name = "status")
95
	@Column(name = "status")
85
	@Enumerated(EnumType.STRING)
96
	@Enumerated(EnumType.STRING)
86
	private LeadStatus status;
97
	private LeadStatus status;
87
 
98
 
-
 
99
	@Column(name = "assign_to")
-
 
100
	private int assignTo;
-
 
101
 
88
	@Column(name = "created_timestamp")
102
	@Column(name = "created_timestamp")
89
	private LocalDateTime createdTimestamp;
103
	private LocalDateTime createdTimestamp;
90
 
104
 
91
	@Column(name = "updated_timestamp")
105
	@Column(name = "updated_timestamp")
92
	private LocalDateTime updatedTimestamp;
106
	private LocalDateTime updatedTimestamp;
93
 
107
 
-
 
108
	public int getAssignTo() {
-
 
109
		return assignTo;
-
 
110
	}
-
 
111
 
-
 
112
	public void setAssignTo(int assignTo) {
-
 
113
		this.assignTo = assignTo;
-
 
114
	}
-
 
115
 
94
	public int getId() {
116
	public int getId() {
95
		return id;
117
		return id;
96
	}
118
	}
97
 
119
 
98
	public void setId(int id) {
120
	public void setId(int id) {
Line 163... Line 185...
163
		this.updatedTimestamp = updatedTimestamp;
185
		this.updatedTimestamp = updatedTimestamp;
164
	}
186
	}
165
 
187
 
166
	@Override
188
	@Override
167
	public String toString() {
189
	public String toString() {
168
		return "Lead [id=" + id + ", firstName=" + firstName + ", lastName=" + lastName + ", leadMobile=" + leadMobile
190
		return "Lead [id=" + id + ", firstName=" + firstName + ", source=" + source + ", lastName=" + lastName
169
				+ ", createdBy=" + createdBy + ", authId=" + authId + ", leadActivity=" + leadActivity + ", address="
191
				+ ", leadMobile=" + leadMobile + ", createdBy=" + createdBy + ", authId=" + authId + ", leadActivity="
170
				+ address + ", city=" + city + ", state=" + state + ", status=" + status + ", createdTimestamp="
192
				+ leadActivity + ", address=" + address + ", city=" + city + ", state=" + state + ", status=" + status
-
 
193
				+ ", assignTo=" + assignTo + ", createdTimestamp=" + createdTimestamp + ", updatedTimestamp="
-
 
194
				+ updatedTimestamp + ", getSource()=" + getSource() + ", getFirstName()=" + getFirstName()
-
 
195
				+ ", getLastName()=" + getLastName() + ", getAuthId()=" + getAuthId() + ", getLeadActivity()="
-
 
196
				+ getLeadActivity() + ", getAssignTo()=" + getAssignTo() + ", getId()=" + getId() + ", getLeadMobile()="
-
 
197
				+ getLeadMobile() + ", getCreatedBy()=" + getCreatedBy() + ", getAddress()=" + getAddress()
-
 
198
				+ ", getCity()=" + getCity() + ", getState()=" + getState() + ", getStatus()=" + getStatus()
171
				+ createdTimestamp + ", updatedTimestamp=" + updatedTimestamp + "]";
199
				+ ", getCreatedTimestamp()=" + getCreatedTimestamp() + ", getUpdatedTimestamp()="
-
 
200
				+ getUpdatedTimestamp() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()="
-
 
201
				+ super.toString() + "]";
172
	}
202
	}
173
 
203
 
174
}
204
}