Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
28908 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
import javax.persistence.Transient;
14
 
15
import com.spice.profitmandi.dao.enumuration.dtr.StoreTimeline;
16
 
17
@Entity
18
@Table(name = "user.store_timeline")
19
public class StoreTimelinetb {
20
	@Id
21
	@Column(name = "id")
22
	@GeneratedValue(strategy = GenerationType.IDENTITY)
23
	private int id;
24
 
25
	@Column(name = "onboarding_id")
26
	private int onboardingId;
27
 
28
	@Column(name = "event_name")
29
	@Enumerated(EnumType.STRING)
30
	private StoreTimeline eventName;
31
 
32
	@Column(name = "complete_date")
33
	private LocalDateTime completeDate;
34
 
35
	@Transient
36
	private int fofoId;
37
 
38
	public int getFofoId() {
39
		return fofoId;
40
	}
41
 
42
	public void setFofoId(int fofoId) {
43
		this.fofoId = fofoId;
44
	}
45
 
46
	public int getId() {
47
		return id;
48
	}
49
 
50
	public void setId(int id) {
51
		this.id = id;
52
	}
53
 
54
	public int getOnboardingId() {
55
		return onboardingId;
56
	}
57
 
58
	public void setOnboardingId(int onboardingId) {
59
		this.onboardingId = onboardingId;
60
	}
61
 
62
	public StoreTimeline getEventName() {
63
		return eventName;
64
	}
65
 
66
	public void setEventName(StoreTimeline eventName) {
67
		this.eventName = eventName;
68
	}
69
 
70
	public LocalDateTime getCompleteDate() {
71
		return completeDate;
72
	}
73
 
74
	public void setCompleteDate(LocalDateTime completeDate) {
75
		this.completeDate = completeDate;
76
	}
77
 
78
	@Override
79
	public String toString() {
80
		return "StoreTimelinetb [id=" + id + ", onboardingId=" + onboardingId + ", eventName=" + eventName
81
				+ ", completeDate=" + completeDate + "]";
82
	}
83
 
84
}