Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
25903 tejbeer 1
package com.spice.profitmandi.dao.entity.user;
2
 
25952 tejbeer 3
import java.io.Serializable;
25903 tejbeer 4
import java.time.LocalDateTime;
5
 
6
import javax.persistence.Column;
7
import javax.persistence.Entity;
8
import javax.persistence.EnumType;
9
import javax.persistence.Enumerated;
10
import javax.persistence.GeneratedValue;
11
import javax.persistence.GenerationType;
12
import javax.persistence.Id;
13
import javax.persistence.Table;
14
 
15
import com.spice.profitmandi.dao.enumuration.dtr.FranchiseeActivityStatus;
16
 
17
@Entity
31860 tejbeer 18
@Table(name = "user.franchisee_activity")
25952 tejbeer 19
public class FranchiseeActivity implements Serializable {
25903 tejbeer 20
 
25952 tejbeer 21
	private static final long serialVersionUID = 1L;
22
 
25903 tejbeer 23
	@Id
24
	@Column(name = "id", unique = true, updatable = false)
25
	@GeneratedValue(strategy = GenerationType.IDENTITY)
26
	private int id;
27
 
28
	@Column(name = "franchisee_visit_id")
29
	private int franchiseeVisitd;
30
 
31
	@Column(name = "resolution")
32
	private String resolution;
33
 
34
	@Column(name = "action")
35
	@Enumerated(EnumType.STRING)
36
	private FranchiseeActivityStatus action;
37
 
25908 amit.gupta 38
	@Column(name = "schedule_timestamp")
25903 tejbeer 39
	private LocalDateTime schelduleTimestamp;
40
 
41
	@Column(name = "created_timestamp")
42
	private LocalDateTime createdTimestamp;
43
 
44
	public int getId() {
45
		return id;
46
	}
47
 
48
	public void setId(int id) {
49
		this.id = id;
50
	}
51
 
52
	public int getFranchiseeVisitd() {
53
		return franchiseeVisitd;
54
	}
55
 
56
	public void setFranchiseeVisitd(int franchiseeVisitd) {
57
		this.franchiseeVisitd = franchiseeVisitd;
58
	}
59
 
60
	public String getResolution() {
61
		return resolution;
62
	}
63
 
64
	public void setResolution(String resolution) {
65
		this.resolution = resolution;
66
	}
67
 
68
	public FranchiseeActivityStatus getAction() {
69
		return action;
70
	}
71
 
72
	public void setAction(FranchiseeActivityStatus action) {
73
		this.action = action;
74
	}
75
 
76
	public LocalDateTime getSchelduleTimestamp() {
77
		return schelduleTimestamp;
78
	}
79
 
80
	public void setSchelduleTimestamp(LocalDateTime schelduleTimestamp) {
81
		this.schelduleTimestamp = schelduleTimestamp;
82
	}
83
 
84
	public LocalDateTime getCreatedTimestamp() {
85
		return createdTimestamp;
86
	}
87
 
88
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
89
		this.createdTimestamp = createdTimestamp;
90
	}
91
 
92
	@Override
93
	public String toString() {
94
		return "FranchiseeActivity [id=" + id + ", franchiseeVisitd=" + franchiseeVisitd + ", resolution=" + resolution
95
				+ ", action=" + action + ", schelduleTimestamp=" + schelduleTimestamp + ", createdTimestamp="
96
				+ createdTimestamp + "]";
97
	}
98
 
99
}