package com.ssm.manage.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.io.Serializable;

/**
 * (ServiceOrder)实体类
 *
 * @author makejava
 * @since 2022-04-12 17:04:59
 */
@Table(name = "service_order")
public class ServiceOrder implements Serializable {
    private static final long serialVersionUID = -79477653144045876L;
    /**
     * 员工上钟Id
     */
    @Id
    private Long id;
    /**
     * 员工Id
     */
    @Column(name = "staff_id")
    private Long staffId;
    /**
     * 员工编码
     */
    @Column(name = "staff_num")
    private String staffNum;
    /**
     * 员工名称
     */
    @Column(name = "staff_name")
    private String staffName;
    /**
     * 性别：1：男；0：女
     */
    @Column(name = "sex")
    private Integer sex;
    /**
     * 门店id
     */
    @Column(name = "store_id")
    private Long storeId;
    /**
     * 门店名称
     */
    @Column(name = "store_name")
    private String storeName;
    /**
     * 0=空闲，1=服务中,2=请假，3=下班，4=停牌
     */
    @Column(name = "state")
    private Integer state;
    /**
     * 排序
     */
    @Column(name = "row")
    private Integer row;
    /**
     * 建立人（用户名称（用户编码）），来源于员工档案
     */
    @Column(name = "founder_staff")
    private String founderStaff;
    /**
     * 建立时间
     */
    @Column(name = "founder_datetime")
    private Date founderDatetime;
    /**
     * 最近修改人（用户名称（用户编码）），来源于员工档案
     */
    @Column(name = "modify_by")
    private String modifyBy;
    /**
     * 最近修改时间
     */
    @Column(name = "modify_datetime")
    private Date modifyDatetime;
    /**
     * 上钟日期
     */
    @Column(name = "date")
    private String date;

    /**
     * 水牌号
     * @return
     */
    @Column(name = "brand_number")
    private String brandNumber;

    /**
     * 手机
     * @return
     */
    @Column(name = "mobile_phone")
    private String mobilePhone;

    /**
     * 身份证号
     * @return
     */
    @Column(name = "identity_card")
    private String identityCard;

    /**
     * 工种：1:美发师/2:技术/3:助理/4:收银员/5:美容师
     * @return
     */
    @Column(name = "job")
    private Integer job;

    /**
     * 职务：1:店长/2:美发经理/3:美容经理/4:总监/51~59:美发师1级到9级/6:员工
     */
    @Column(name = "grade")
    private Integer grade;

    /**
     * 职务：1:店长/2:美发经理/3:美容经理/4:总监/51~59:美发师1级到9级/6:员工
     */
    @Column(name = "servicing_time")
    private Integer servicingTime;

    @Column(name = "service_start_date")
    private Date serviceStartDate;

    public Integer getServicingTime() {
        return servicingTime;
    }

    public void setServicingTime(Integer servicingTime) {
        this.servicingTime = servicingTime;
    }

    public Date getServiceStartDate() {
        return serviceStartDate;
    }

    public void setServiceStartDate(Date serviceStartDate) {
        this.serviceStartDate = serviceStartDate;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Long getId() {
        return id;
    }

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

    public Long getStaffId() {
        return staffId;
    }

    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }

    public String getStaffNum() {
        return staffNum;
    }

    public void setStaffNum(String staffNum) {
        this.staffNum = staffNum;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getRow() {
        return row;
    }

    public void setRow(Integer row) {
        this.row = row;
    }

    public String getFounderStaff() {
        return founderStaff;
    }

    public void setFounderStaff(String founderStaff) {
        this.founderStaff = founderStaff;
    }

    public Date getFounderDatetime() {
        return founderDatetime;
    }

    public void setFounderDatetime(Date founderDatetime) {
        this.founderDatetime = founderDatetime;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyDatetime() {
        return modifyDatetime;
    }

    public void setModifyDatetime(Date modifyDatetime) {
        this.modifyDatetime = modifyDatetime;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getBrandNumber() {
        return brandNumber;
    }

    public void setBrandNumber(String brandNumber) {
        this.brandNumber = brandNumber;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public Integer getJob() {
        return job;
    }

    public void setJob(Integer job) {
        this.job = job;
    }
}

