Subversion Repositories SmartDukaan

Rev

Rev 36644 | Go to most recent revision | Details | Compare with Previous | 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
 
36805 ranu 49
    @Column(name = "agenda_filled_timestamp")
50
    private LocalDateTime agendaFilledTimestamp;
51
 
36644 ranu 52
    public int getId() {
53
        return id;
54
    }
55
 
56
    public void setId(int id) {
57
        this.id = id;
58
    }
59
 
60
    public int getBeatId() {
61
        return beatId;
62
    }
63
 
64
    public void setBeatId(int beatId) {
65
        this.beatId = beatId;
66
    }
67
 
68
    public LocalDate getStartDate() {
69
        return startDate;
70
    }
71
 
72
    public void setStartDate(LocalDate startDate) {
73
        this.startDate = startDate;
74
    }
75
 
76
    public LocalDate getEndDate() {
77
        return endDate;
78
    }
79
 
80
    public void setEndDate(LocalDate endDate) {
81
        this.endDate = endDate;
82
    }
83
 
84
    public int getDayNumber() {
85
        return dayNumber;
86
    }
87
 
88
    public void setDayNumber(int dayNumber) {
89
        this.dayNumber = dayNumber;
90
    }
91
 
92
    public Double getTotalDistanceKm() {
93
        return totalDistanceKm;
94
    }
95
 
96
    public void setTotalDistanceKm(Double totalDistanceKm) {
97
        this.totalDistanceKm = totalDistanceKm;
98
    }
99
 
100
    public Integer getTotalTimeMins() {
101
        return totalTimeMins;
102
    }
103
 
104
    public void setTotalTimeMins(Integer totalTimeMins) {
105
        this.totalTimeMins = totalTimeMins;
106
    }
107
 
108
    public String getEndAction() {
109
        return endAction;
110
    }
111
 
112
    public void setEndAction(String endAction) {
113
        this.endAction = endAction;
114
    }
115
 
116
    public String getStayLocationName() {
117
        return stayLocationName;
118
    }
119
 
120
    public void setStayLocationName(String stayLocationName) {
121
        this.stayLocationName = stayLocationName;
122
    }
123
 
124
    public String getStayLatitude() {
125
        return stayLatitude;
126
    }
127
 
128
    public void setStayLatitude(String stayLatitude) {
129
        this.stayLatitude = stayLatitude;
130
    }
131
 
132
    public String getStayLongitude() {
133
        return stayLongitude;
134
    }
135
 
136
    public void setStayLongitude(String stayLongitude) {
137
        this.stayLongitude = stayLongitude;
138
    }
139
 
140
    public LocalDateTime getCreatedTimestamp() {
141
        return createdTimestamp;
142
    }
143
 
144
    public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
145
        this.createdTimestamp = createdTimestamp;
146
    }
36805 ranu 147
 
148
    public LocalDateTime getAgendaFilledTimestamp() {
149
        return agendaFilledTimestamp;
150
    }
151
 
152
    public void setAgendaFilledTimestamp(LocalDateTime agendaFilledTimestamp) {
153
        this.agendaFilledTimestamp = agendaFilledTimestamp;
154
    }
36644 ranu 155
}