Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

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

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

@Entity
@Table(name = "user.beat")
public class Beat {

        @Id
        @Column(name = "id", unique = true, updatable = false)
        @GeneratedValue(strategy = GenerationType.IDENTITY)
        private int id;

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

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

        @Column(name = "beat_color")
        private String beatColor;

        @Column(name = "start_location_name")
        private String startLocationName;

        @Column(name = "start_latitude")
        private String startLatitude;

        @Column(name = "start_longitude")
        private String startLongitude;

        @Column(name = "total_days")
        private int totalDays;

        @Column(name = "active")
        private boolean active;

        @Column(name = "created_by")
        private int createdBy;

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

        public int getId() {
                return id;
        }

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

        public String getName() {
                return name;
        }

        public void setName(String name) {
                this.name = name;
        }

        public int getAuthUserId() {
                return authUserId;
        }

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

        public String getBeatColor() {
                return beatColor;
        }

        public void setBeatColor(String beatColor) {
                this.beatColor = beatColor;
        }

        public String getStartLocationName() {
                return startLocationName;
        }

        public void setStartLocationName(String startLocationName) {
                this.startLocationName = startLocationName;
        }

        public String getStartLatitude() {
                return startLatitude;
        }

        public void setStartLatitude(String startLatitude) {
                this.startLatitude = startLatitude;
        }

        public String getStartLongitude() {
                return startLongitude;
        }

        public void setStartLongitude(String startLongitude) {
                this.startLongitude = startLongitude;
        }

        public int getTotalDays() {
                return totalDays;
        }

        public void setTotalDays(int totalDays) {
                this.totalDays = totalDays;
        }

        public boolean isActive() {
                return active;
        }

        public void setActive(boolean active) {
                this.active = active;
        }

        public int getCreatedBy() {
                return createdBy;
        }

        public void setCreatedBy(int createdBy) {
                this.createdBy = createdBy;
        }

        public LocalDateTime getCreatedTimestamp() {
                return createdTimestamp;
        }

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