Subversion Repositories SmartDukaan

Rev

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

Rev 24439 Rev 24500
Line 32... Line 32...
32
	private int id;
32
	private int id;
33
	
33
	
34
	@Column(name="fofo_id")
34
	@Column(name="fofo_id")
35
	private int fofoId;
35
	private int fofoId;
36
	
36
	
37
	@Column(name="assignee_id")
-
 
38
	private int assigneeId;
-
 
39
	
-
 
40
	@Column(name="subcategory_id")
37
	@Column(name="subcategory_id")
41
	private int subCategoryId;
38
	private int subCategoryId;
42
	
39
	
43
	@Column(name="create_timestamp")
40
	@Column(name="create_timestamp")
44
	private LocalDateTime createTimestamp;
41
	private LocalDateTime createTimestamp;
Line 103... Line 100...
103
	}
100
	}
104
 
101
 
105
	public void setFofoId(int fofoId) {
102
	public void setFofoId(int fofoId) {
106
		this.fofoId = fofoId;
103
		this.fofoId = fofoId;
107
	}
104
	}
108
 
-
 
109
	public int getAssigneeId() {
-
 
110
		return assigneeId;
-
 
111
	}
-
 
112
 
-
 
113
	public void setAssigneeId(int assigneeId) {
-
 
114
		this.assigneeId = assigneeId;
-
 
115
	}
-
 
116
 
-
 
117
	public int getSubCategoryId() {
105
	public int getSubCategoryId() {
118
		return subCategoryId;
106
		return subCategoryId;
119
	}
107
	}
120
 
108
 
121
	public void setSubCategoryId(int subCategoryId) {
109
	public void setSubCategoryId(int subCategoryId) {
Line 224... Line 212...
224
 
212
 
225
	@Override
213
	@Override
226
	public int hashCode() {
214
	public int hashCode() {
227
		final int prime = 31;
215
		final int prime = 31;
228
		int result = 1;
216
		int result = 1;
229
		result = prime * result + assigneeId;
-
 
230
		result = prime * result + ((closeTimestamp == null) ? 0 : closeTimestamp.hashCode());
217
		result = prime * result + ((closeTimestamp == null) ? 0 : closeTimestamp.hashCode());
231
		result = prime * result + ((createTimestamp == null) ? 0 : createTimestamp.hashCode());
218
		result = prime * result + ((createTimestamp == null) ? 0 : createTimestamp.hashCode());
232
		result = prime * result + fofoId;
219
		result = prime * result + fofoId;
233
		result = prime * result + ((happyCode == null) ? 0 : happyCode.hashCode());
220
		result = prime * result + ((happyCode == null) ? 0 : happyCode.hashCode());
234
		result = prime * result + id;
221
		result = prime * result + id;
Line 251... Line 238...
251
		if (obj == null)
238
		if (obj == null)
252
			return false;
239
			return false;
253
		if (getClass() != obj.getClass())
240
		if (getClass() != obj.getClass())
254
			return false;
241
			return false;
255
		Ticket other = (Ticket) obj;
242
		Ticket other = (Ticket) obj;
256
		if (assigneeId != other.assigneeId)
-
 
257
			return false;
-
 
258
		if (closeTimestamp == null) {
243
		if (closeTimestamp == null) {
259
			if (other.closeTimestamp != null)
244
			if (other.closeTimestamp != null)
260
				return false;
245
				return false;
261
		} else if (!closeTimestamp.equals(other.closeTimestamp))
246
		} else if (!closeTimestamp.equals(other.closeTimestamp))
262
			return false;
247
			return false;
Line 307... Line 292...
307
		return true;
292
		return true;
308
	}
293
	}
309
 
294
 
310
	@Override
295
	@Override
311
	public String toString() {
296
	public String toString() {
312
		return "Ticket [id=" + id + ", fofoId=" + fofoId + ", assigneeId=" + assigneeId + ", subCategoryId="
297
		return "Ticket [id=" + id + ", fofoId=" + fofoId + "subCategoryId="
313
				+ subCategoryId + ", createTimestamp=" + createTimestamp + ", updateTimestamp=" + updateTimestamp
298
				+ subCategoryId + ", createTimestamp=" + createTimestamp + ", updateTimestamp=" + updateTimestamp
314
				+ ", closeTimestamp=" + closeTimestamp + ", l1AuthUser=" + l1AuthUser + ", l2AuthUser=" + l2AuthUser
299
				+ ", closeTimestamp=" + closeTimestamp + ", l1AuthUser=" + l1AuthUser + ", l2AuthUser=" + l2AuthUser
315
				+ ", l3AuthUser=" + l3AuthUser + ", happyCode=" + happyCode + ", lastActivity=" + lastActivity
300
				+ ", l3AuthUser=" + l3AuthUser + ", happyCode=" + happyCode + ", lastActivity=" + lastActivity
316
				+ ", l2EscalationTimestamp=" + l2EscalationTimestamp + ", l3EscalationTimestamp="
301
				+ ", l2EscalationTimestamp=" + l2EscalationTimestamp + ", l3EscalationTimestamp="
317
				+ l3EscalationTimestamp + ", lastEscalationTimestamp=" + lastEscalationTimestamp + "]";
302
				+ l3EscalationTimestamp + ", lastEscalationTimestamp=" + lastEscalationTimestamp + "]";