Subversion Repositories SmartDukaan

Rev

Rev 25952 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

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

import java.io.Serializable;
import java.time.LocalDateTime;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.spice.profitmandi.dao.enumuration.dtr.FranchiseeActivityStatus;

@Entity
@Table(name = "user.franchisee_activity")
public class FranchiseeActivity implements Serializable {

        private static final long serialVersionUID = 1L;

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

        @Column(name = "franchisee_visit_id")
        private int franchiseeVisitd;

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

        @Column(name = "action")
        @Enumerated(EnumType.STRING)
        private FranchiseeActivityStatus action;

        @Column(name = "schedule_timestamp")
        private LocalDateTime schelduleTimestamp;

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

        public int getId() {
                return id;
        }

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

        public int getFranchiseeVisitd() {
                return franchiseeVisitd;
        }

        public void setFranchiseeVisitd(int franchiseeVisitd) {
                this.franchiseeVisitd = franchiseeVisitd;
        }

        public String getResolution() {
                return resolution;
        }

        public void setResolution(String resolution) {
                this.resolution = resolution;
        }

        public FranchiseeActivityStatus getAction() {
                return action;
        }

        public void setAction(FranchiseeActivityStatus action) {
                this.action = action;
        }

        public LocalDateTime getSchelduleTimestamp() {
                return schelduleTimestamp;
        }

        public void setSchelduleTimestamp(LocalDateTime schelduleTimestamp) {
                this.schelduleTimestamp = schelduleTimestamp;
        }

        public LocalDateTime getCreatedTimestamp() {
                return createdTimestamp;
        }

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

        @Override
        public String toString() {
                return "FranchiseeActivity [id=" + id + ", franchiseeVisitd=" + franchiseeVisitd + ", resolution=" + resolution
                                + ", action=" + action + ", schelduleTimestamp=" + schelduleTimestamp + ", createdTimestamp="
                                + createdTimestamp + "]";
        }

}