DutyEmployee.java 1.45 KB
package com.bsth.entity.sys;

import javax.persistence.*;

/**
 * 当班调度员
 * Created by panzhao on 2017/1/5.
 */
@Entity
@Table(name = "bsth_c_sys_duty_employee")
public class DutyEmployee {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 员工ID
     */
    private Integer uId;

    /**
     * 员工姓名
     */
    private String uName;

    /**
     * 线路编码 ,号分割多个
     */
    private String codeIdx;

    /**
     * 登入线调时间
     */
    private Long ts;

    /**
     * 是否主调模式进入
     */
    private boolean main;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getCodeIdx() {
        return codeIdx;
    }

    public void setCodeIdx(String codeIdx) {
        this.codeIdx = codeIdx;
    }

    public Long getTs() {
        return ts;
    }

    public void setTs(Long ts) {
        this.ts = ts;
    }

    public boolean isMain() {
        return main;
    }

    public void setMain(boolean main) {
        this.main = main;
    }

    public Long getId() {
        return id;
    }

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