Subversion Repositories SmartDukaan

Rev

Rev 36622 | Details | Compare with Previous | 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
 
36681 ranu 32
	@Column(name = "is_default", nullable = false)
33
	private boolean isDefault;
34
 
36622 ranu 35
	@Column(name = "created_timestamp")
36
	private LocalDateTime createdTimestamp;
37
 
38
	public int getId() {
39
		return id;
40
	}
41
 
42
	public void setId(int id) {
43
		this.id = id;
44
	}
45
 
46
	public int getAuthUserId() {
47
		return authUserId;
48
	}
49
 
50
	public void setAuthUserId(int authUserId) {
51
		this.authUserId = authUserId;
52
	}
53
 
54
	public String getLocationType() {
55
		return locationType;
56
	}
57
 
58
	public void setLocationType(String locationType) {
59
		this.locationType = locationType;
60
	}
61
 
62
	public String getLocationName() {
63
		return locationName;
64
	}
65
 
66
	public void setLocationName(String locationName) {
67
		this.locationName = locationName;
68
	}
69
 
70
	public String getLatitude() {
71
		return latitude;
72
	}
73
 
74
	public void setLatitude(String latitude) {
75
		this.latitude = latitude;
76
	}
77
 
78
	public String getLongitude() {
79
		return longitude;
80
	}
81
 
82
	public void setLongitude(String longitude) {
83
		this.longitude = longitude;
84
	}
85
 
86
	public String getAddress() {
87
		return address;
88
	}
89
 
90
	public void setAddress(String address) {
91
		this.address = address;
92
	}
93
 
36681 ranu 94
	public boolean isDefault() {
95
		return isDefault;
96
	}
97
 
98
	public void setDefault(boolean isDefault) {
99
		this.isDefault = isDefault;
100
	}
101
 
36622 ranu 102
	public LocalDateTime getCreatedTimestamp() {
103
		return createdTimestamp;
104
	}
105
 
106
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
107
		this.createdTimestamp = createdTimestamp;
108
	}
109
}