Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

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

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

@Entity
@Table(name = "user.lead_route")
public class LeadRoute {

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

        @Column(name = "beat_id")
        private int beatId;

        @Column(name = "lead_id")
        private int leadId;

        @Column(name = "nearest_store_id")
        private Integer nearestStoreId;

        @Column(name = "schedule_date")
        private LocalDate scheduleDate;

        @Column(name = "sequence_order")
        private Integer sequenceOrder;

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

        @Column(name = "approved_by")
        private int approvedBy;

        @Column(name = "requested_by")
        private int requestedBy;

        @Column(name = "approved_timestamp")
        private LocalDateTime approvedTimestamp;

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

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

        @Column(name = "updated_timestamp")
        private LocalDateTime updatedTimestamp;

        public int getId() {
                return id;
        }

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

        public int getBeatId() {
                return beatId;
        }

        public void setBeatId(int beatId) {
                this.beatId = beatId;
        }

        public int getLeadId() {
                return leadId;
        }

        public void setLeadId(int leadId) {
                this.leadId = leadId;
        }

        public Integer getNearestStoreId() {
                return nearestStoreId;
        }

        public void setNearestStoreId(Integer nearestStoreId) {
                this.nearestStoreId = nearestStoreId;
        }

        public LocalDate getScheduleDate() {
                return scheduleDate;
        }

        public void setScheduleDate(LocalDate scheduleDate) {
                this.scheduleDate = scheduleDate;
        }

        public Integer getSequenceOrder() {
                return sequenceOrder;
        }

        public void setSequenceOrder(Integer sequenceOrder) {
                this.sequenceOrder = sequenceOrder;
        }

        public String getStatus() {
                return status;
        }

        public void setStatus(String status) {
                this.status = status;
        }

        public int getApprovedBy() {
                return approvedBy;
        }

        public void setApprovedBy(int approvedBy) {
                this.approvedBy = approvedBy;
        }

        public int getRequestedBy() {
                return requestedBy;
        }

        public void setRequestedBy(int requestedBy) {
                this.requestedBy = requestedBy;
        }

        public LocalDateTime getApprovedTimestamp() {
                return approvedTimestamp;
        }

        public void setApprovedTimestamp(LocalDateTime approvedTimestamp) {
                this.approvedTimestamp = approvedTimestamp;
        }

        public String getRemark() {
                return remark;
        }

        public void setRemark(String remark) {
                this.remark = remark;
        }

        public LocalDateTime getCreatedTimestamp() {
                return createdTimestamp;
        }

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

        public LocalDateTime getUpdatedTimestamp() {
                return updatedTimestamp;
        }

        public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
                this.updatedTimestamp = updatedTimestamp;
        }
}