Subversion Repositories SmartDukaan

Rev

Rev 36805 | Go to most recent revision | 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.LocalDate;
5
import java.time.LocalDateTime;
6
 
7
@Entity
8
@Table(name = "user.beat_schedule")
9
public class BeatSchedule {
10
 
11
    @Id
12
    @Column(name = "id", unique = true, updatable = false)
13
    @GeneratedValue(strategy = GenerationType.IDENTITY)
14
    private int id;
15
 
16
    @Column(name = "beat_id")
17
    private int beatId;
18
 
19
    @Column(name = "start_date")
20
    private LocalDate startDate;
21
 
22
    @Column(name = "end_date")
23
    private LocalDate endDate;
24
 
25
    @Column(name = "day_number")
26
    private int dayNumber;
27
 
28
    @Column(name = "total_distance_km")
29
    private Double totalDistanceKm;
30
 
31
    @Column(name = "total_time_mins")
32
    private Integer totalTimeMins;
33
 
34
    @Column(name = "end_action")
35
    private String endAction;
36
 
37
    @Column(name = "stay_location_name")
38
    private String stayLocationName;
39
 
40
    @Column(name = "stay_latitude")
41
    private String stayLatitude;
42
 
43
    @Column(name = "stay_longitude")
44
    private String stayLongitude;
45
 
46
    @Column(name = "created_timestamp")
47
    private LocalDateTime createdTimestamp;
48
 
49
    public int getId() {
50
        return id;
51
    }
52
 
53
    public void setId(int id) {
54
        this.id = id;
55
    }
56
 
57
    public int getBeatId() {
58
        return beatId;
59
    }
60
 
61
    public void setBeatId(int beatId) {
62
        this.beatId = beatId;
63
    }
64
 
65
    public LocalDate getStartDate() {
66
        return startDate;
67
    }
68
 
69
    public void setStartDate(LocalDate startDate) {
70
        this.startDate = startDate;
71
    }
72
 
73
    public LocalDate getEndDate() {
74
        return endDate;
75
    }
76
 
77
    public void setEndDate(LocalDate endDate) {
78
        this.endDate = endDate;
79
    }
80
 
81
    public int getDayNumber() {
82
        return dayNumber;
83
    }
84
 
85
    public void setDayNumber(int dayNumber) {
86
        this.dayNumber = dayNumber;
87
    }
88
 
89
    public Double getTotalDistanceKm() {
90
        return totalDistanceKm;
91
    }
92
 
93
    public void setTotalDistanceKm(Double totalDistanceKm) {
94
        this.totalDistanceKm = totalDistanceKm;
95
    }
96
 
97
    public Integer getTotalTimeMins() {
98
        return totalTimeMins;
99
    }
100
 
101
    public void setTotalTimeMins(Integer totalTimeMins) {
102
        this.totalTimeMins = totalTimeMins;
103
    }
104
 
105
    public String getEndAction() {
106
        return endAction;
107
    }
108
 
109
    public void setEndAction(String endAction) {
110
        this.endAction = endAction;
111
    }
112
 
113
    public String getStayLocationName() {
114
        return stayLocationName;
115
    }
116
 
117
    public void setStayLocationName(String stayLocationName) {
118
        this.stayLocationName = stayLocationName;
119
    }
120
 
121
    public String getStayLatitude() {
122
        return stayLatitude;
123
    }
124
 
125
    public void setStayLatitude(String stayLatitude) {
126
        this.stayLatitude = stayLatitude;
127
    }
128
 
129
    public String getStayLongitude() {
130
        return stayLongitude;
131
    }
132
 
133
    public void setStayLongitude(String stayLongitude) {
134
        this.stayLongitude = stayLongitude;
135
    }
136
 
137
    public LocalDateTime getCreatedTimestamp() {
138
        return createdTimestamp;
139
    }
140
 
141
    public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
142
        this.createdTimestamp = createdTimestamp;
143
    }
144
}