Subversion Repositories SmartDukaan

Rev

Rev 36622 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.entity.user;

import javax.persistence.*;
import java.time.LocalDateTime;

@Entity
@Table(name = "user.auth_user_location")
public class AuthUserLocation {
        @Id
        @Column(name = "id", unique = true, updatable = false)
        @GeneratedValue(strategy = GenerationType.IDENTITY)
        private int id;

        @Column(name = "auth_user_id")
        private int authUserId;

        @Column(name = "location_type")
        private String locationType;

        @Column(name = "location_name")
        private String locationName;

        @Column(name = "latitude")
        private String latitude;

        @Column(name = "longitude")
        private String longitude;

        @Column(name = "address")
        private String address;

        @Column(name = "is_default", nullable = false)
        private boolean isDefault;

        @Column(name = "created_timestamp")
        private LocalDateTime createdTimestamp;

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }

        public int getAuthUserId() {
                return authUserId;
        }

        public void setAuthUserId(int authUserId) {
                this.authUserId = authUserId;
        }

        public String getLocationType() {
                return locationType;
        }

        public void setLocationType(String locationType) {
                this.locationType = locationType;
        }

        public String getLocationName() {
                return locationName;
        }

        public void setLocationName(String locationName) {
                this.locationName = locationName;
        }

        public String getLatitude() {
                return latitude;
        }

        public void setLatitude(String latitude) {
                this.latitude = latitude;
        }

        public String getLongitude() {
                return longitude;
        }

        public void setLongitude(String longitude) {
                this.longitude = longitude;
        }

        public String getAddress() {
                return address;
        }

        public void setAddress(String address) {
                this.address = address;
        }

        public boolean isDefault() {
                return isDefault;
        }

        public void setDefault(boolean isDefault) {
                this.isDefault = isDefault;
        }

        public LocalDateTime getCreatedTimestamp() {
                return createdTimestamp;
        }

        public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
                this.createdTimestamp = createdTimestamp;
        }
}