package org.well.well.domain;



import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 报警工单表
 * </p>
 *
 */
@Entity
@Table(name = "alarm_job")
public class AlarmJob implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "ID")
    private Long id;
    /**
     * 工单编号
     */
    @Column(name ="JOBCODE")
    private String jobcode;
    /**
     * 工单类型
     */
    @Column(name ="JOG_TYPE")
    private String jogType;
    /**
     * 井编号
     */
    @Column(name ="WELL_CODE")
    private String wellCode;
    /**
     * 设备编号
     */
    @Column(name ="DEVCODE")
    private String devcode;
    /**
     * 工单创建时间
     */
    @Column(name ="CREATE_TIME")
    private Date createTime;
    /**
     * 工单状态（0待处理，1待确认，2处理中，3完成）
     */
    @Column(name ="JOB_STATUS")
    private String jobStatus;
    /**
     * 接单人员
     */
    @Column(name ="GET_JOB_PERSON")
    private String getJobPerson;
    /**
     * 接单时间
     */
    @Column(name ="GET_JOB_TIME")
    private Date getJobTime;
    /**
     * 第一现场情况
     */
    @Column(name ="FIRST_STATE")
    private String firstState;
    /**
     * 第一现场照片
     */
    @Column(name ="FIRST_STATE_PHOTOS")
    private String firstStatePhotos;
    /**
     * 确认人员
     */
    @Column(name ="CONFIRM_JOB_PERSON")
    private String confirmJobPerson;
    /**
     * 确认时间
     */
    @Column(name ="CONFRIM_JOB_TIME")
    private Date confrimJobTime;
    /**
     * 处理人员
     */
    @Column(name ="HANDLE_JOB_Person")
    private String handleJobPerson;
    /**
     * 处理时间
     */
    @Column(name ="HANDLE_JOB_TIME")
    private Date handleJobTime;
    /**
     * 维护情况记录
     */
    @Column(name ="HANDLE_MESSAGE")
    private String handleMessage;
    /**
     * 维护图片
     */
    @Column(name ="HANDLE_PHOTOS")
    private String handlePhotos;
    /**
     * 工单流转记录
     */
    @Column(name ="FLOW")
    private String flow;


    /**
     * 工单当前处理人员
     */
    @Column(name ="JOB_BELONG_TO")
    private Long jobBelongTo;


    public Long getId() {
        return id;
    }

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

    public String getJobcode() {
        return jobcode;
    }

    public void setJobcode(String jobcode) {
        this.jobcode = jobcode;
    }

    public String getJogType() {
        return jogType;
    }

    public void setJogType(String jogType) {
        this.jogType = jogType;
    }

    public String getWellCode() {
        return wellCode;
    }

    public void setWellCode(String wellCode) {
        this.wellCode = wellCode;
    }

    public String getDevcode() {
        return devcode;
    }

    public void setDevcode(String devcode) {
        this.devcode = devcode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(String jobStatus) {
        this.jobStatus = jobStatus;
    }

    public String getGetJobPerson() {
        return getJobPerson;
    }

    public void setGetJobPerson(String getJobPerson) {
        this.getJobPerson = getJobPerson;
    }

    public Date getGetJobTime() {
        return getJobTime;
    }

    public void setGetJobTime(Date getJobTime) {
        this.getJobTime = getJobTime;
    }

    public String getFirstState() {
        return firstState;
    }

    public void setFirstState(String firstState) {
        this.firstState = firstState;
    }

    public String getFirstStatePhotos() {
        return firstStatePhotos;
    }

    public void setFirstStatePhotos(String firstStatePhotos) {
        this.firstStatePhotos = firstStatePhotos;
    }

    public String getConfirmJobPerson() {
        return confirmJobPerson;
    }

    public void setConfirmJobPerson(String confirmJobPerson) {
        this.confirmJobPerson = confirmJobPerson;
    }

    public Date getConfrimJobTime() {
        return confrimJobTime;
    }

    public void setConfrimJobTime(Date confrimJobTime) {
        this.confrimJobTime = confrimJobTime;
    }

    public String getHandleJobPerson() {
        return handleJobPerson;
    }

    public void setHandleJobPerson(String handleJobPerson) {
        this.handleJobPerson = handleJobPerson;
    }

    public Date getHandleJobTime() {
        return handleJobTime;
    }

    public void setHandleJobTime(Date handleJobTime) {
        this.handleJobTime = handleJobTime;
    }

    public String getHandleMessage() {
        return handleMessage;
    }

    public void setHandleMessage(String handleMessage) {
        this.handleMessage = handleMessage;
    }

    public String getHandlePhotos() {
        return handlePhotos;
    }

    public void setHandlePhotos(String handlePhotos) {
        this.handlePhotos = handlePhotos;
    }

    public String getFlow() {
        return flow;
    }

    public void setFlow(String flow) {
        this.flow = flow;
    }

    public Long getJobBelongTo() {
        return jobBelongTo;
    }

    public void setJobBelongTo(Long jobBelongTo) {
        this.jobBelongTo = jobBelongTo;
    }
}
