Subversion Repositories SmartDukaan

Rev

Rev 25908 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
25903 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;
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.FranchiseeActivityStatus;
15
 
16
@Entity
17
@Table(name = "user.franchisee_activity", schema = "user")
18
public class FranchiseeActivity {
19
 
20
	@Id
21
	@Column(name = "id", unique = true, updatable = false)
22
	@GeneratedValue(strategy = GenerationType.IDENTITY)
23
	private int id;
24
 
25
	@Column(name = "franchisee_visit_id")
26
	private int franchiseeVisitd;
27
 
28
	@Column(name = "resolution")
29
	private String resolution;
30
 
31
	@Column(name = "action")
32
	@Enumerated(EnumType.STRING)
33
	private FranchiseeActivityStatus action;
34
 
35
	@Column(name = "scheldule_timestamp")
36
	private LocalDateTime schelduleTimestamp;
37
 
38
	@Column(name = "created_timestamp")
39
	private LocalDateTime createdTimestamp;
40
 
41
	public int getId() {
42
		return id;
43
	}
44
 
45
	public void setId(int id) {
46
		this.id = id;
47
	}
48
 
49
	public int getFranchiseeVisitd() {
50
		return franchiseeVisitd;
51
	}
52
 
53
	public void setFranchiseeVisitd(int franchiseeVisitd) {
54
		this.franchiseeVisitd = franchiseeVisitd;
55
	}
56
 
57
	public String getResolution() {
58
		return resolution;
59
	}
60
 
61
	public void setResolution(String resolution) {
62
		this.resolution = resolution;
63
	}
64
 
65
	public FranchiseeActivityStatus getAction() {
66
		return action;
67
	}
68
 
69
	public void setAction(FranchiseeActivityStatus action) {
70
		this.action = action;
71
	}
72
 
73
	public LocalDateTime getSchelduleTimestamp() {
74
		return schelduleTimestamp;
75
	}
76
 
77
	public void setSchelduleTimestamp(LocalDateTime schelduleTimestamp) {
78
		this.schelduleTimestamp = schelduleTimestamp;
79
	}
80
 
81
	public LocalDateTime getCreatedTimestamp() {
82
		return createdTimestamp;
83
	}
84
 
85
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
86
		this.createdTimestamp = createdTimestamp;
87
	}
88
 
89
	@Override
90
	public String toString() {
91
		return "FranchiseeActivity [id=" + id + ", franchiseeVisitd=" + franchiseeVisitd + ", resolution=" + resolution
92
				+ ", action=" + action + ", schelduleTimestamp=" + schelduleTimestamp + ", createdTimestamp="
93
				+ createdTimestamp + "]";
94
	}
95
 
96
}