Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
36644 ranu 1
package com.spice.profitmandi.dao.entity.user;
2
 
3
import javax.persistence.*;
4
import java.time.LocalDateTime;
5
 
6
@Entity
7
@Table(name = "user.beat")
8
public class Beat {
9
 
10
	@Id
11
	@Column(name = "id", unique = true, updatable = false)
12
	@GeneratedValue(strategy = GenerationType.IDENTITY)
13
	private int id;
14
 
15
	@Column(name = "name")
16
	private String name;
17
 
18
	@Column(name = "auth_user_id")
19
	private int authUserId;
20
 
21
	@Column(name = "beat_color")
22
	private String beatColor;
23
 
24
	@Column(name = "start_location_name")
25
	private String startLocationName;
26
 
27
	@Column(name = "start_latitude")
28
	private String startLatitude;
29
 
30
	@Column(name = "start_longitude")
31
	private String startLongitude;
32
 
33
	@Column(name = "total_days")
34
	private int totalDays;
35
 
36
	@Column(name = "active")
37
	private boolean active;
38
 
39
	@Column(name = "created_by")
40
	private int createdBy;
41
 
42
	@Column(name = "created_timestamp")
43
	private LocalDateTime createdTimestamp;
44
 
45
	public int getId() {
46
		return id;
47
	}
48
 
49
	public void setId(int id) {
50
		this.id = id;
51
	}
52
 
53
	public String getName() {
54
		return name;
55
	}
56
 
57
	public void setName(String name) {
58
		this.name = name;
59
	}
60
 
61
	public int getAuthUserId() {
62
		return authUserId;
63
	}
64
 
65
	public void setAuthUserId(int authUserId) {
66
		this.authUserId = authUserId;
67
	}
68
 
69
	public String getBeatColor() {
70
		return beatColor;
71
	}
72
 
73
	public void setBeatColor(String beatColor) {
74
		this.beatColor = beatColor;
75
	}
76
 
77
	public String getStartLocationName() {
78
		return startLocationName;
79
	}
80
 
81
	public void setStartLocationName(String startLocationName) {
82
		this.startLocationName = startLocationName;
83
	}
84
 
85
	public String getStartLatitude() {
86
		return startLatitude;
87
	}
88
 
89
	public void setStartLatitude(String startLatitude) {
90
		this.startLatitude = startLatitude;
91
	}
92
 
93
	public String getStartLongitude() {
94
		return startLongitude;
95
	}
96
 
97
	public void setStartLongitude(String startLongitude) {
98
		this.startLongitude = startLongitude;
99
	}
100
 
101
	public int getTotalDays() {
102
		return totalDays;
103
	}
104
 
105
	public void setTotalDays(int totalDays) {
106
		this.totalDays = totalDays;
107
	}
108
 
109
	public boolean isActive() {
110
		return active;
111
	}
112
 
113
	public void setActive(boolean active) {
114
		this.active = active;
115
	}
116
 
117
	public int getCreatedBy() {
118
		return createdBy;
119
	}
120
 
121
	public void setCreatedBy(int createdBy) {
122
		this.createdBy = createdBy;
123
	}
124
 
125
	public LocalDateTime getCreatedTimestamp() {
126
		return createdTimestamp;
127
	}
128
 
129
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
130
		this.createdTimestamp = createdTimestamp;
131
	}
132
}