Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
36622 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.auth_user_location")
8
public class AuthUserLocation {
9
	@Id
10
	@Column(name = "id", unique = true, updatable = false)
11
	@GeneratedValue(strategy = GenerationType.IDENTITY)
12
	private int id;
13
 
14
	@Column(name = "auth_user_id")
15
	private int authUserId;
16
 
17
	@Column(name = "location_type")
18
	private String locationType;
19
 
20
	@Column(name = "location_name")
21
	private String locationName;
22
 
23
	@Column(name = "latitude")
24
	private String latitude;
25
 
26
	@Column(name = "longitude")
27
	private String longitude;
28
 
29
	@Column(name = "address")
30
	private String address;
31
 
32
	@Column(name = "created_timestamp")
33
	private LocalDateTime createdTimestamp;
34
 
35
	public int getId() {
36
		return id;
37
	}
38
 
39
	public void setId(int id) {
40
		this.id = id;
41
	}
42
 
43
	public int getAuthUserId() {
44
		return authUserId;
45
	}
46
 
47
	public void setAuthUserId(int authUserId) {
48
		this.authUserId = authUserId;
49
	}
50
 
51
	public String getLocationType() {
52
		return locationType;
53
	}
54
 
55
	public void setLocationType(String locationType) {
56
		this.locationType = locationType;
57
	}
58
 
59
	public String getLocationName() {
60
		return locationName;
61
	}
62
 
63
	public void setLocationName(String locationName) {
64
		this.locationName = locationName;
65
	}
66
 
67
	public String getLatitude() {
68
		return latitude;
69
	}
70
 
71
	public void setLatitude(String latitude) {
72
		this.latitude = latitude;
73
	}
74
 
75
	public String getLongitude() {
76
		return longitude;
77
	}
78
 
79
	public void setLongitude(String longitude) {
80
		this.longitude = longitude;
81
	}
82
 
83
	public String getAddress() {
84
		return address;
85
	}
86
 
87
	public void setAddress(String address) {
88
		this.address = address;
89
	}
90
 
91
	public LocalDateTime getCreatedTimestamp() {
92
		return createdTimestamp;
93
	}
94
 
95
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
96
		this.createdTimestamp = createdTimestamp;
97
	}
98
}