package com.zd.airbottle.domain;

import com.zd.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import com.zd.common.core.web.domain.BaseEntity;

/**
 * 气瓶流程详情对象 qp_flow_detail
 *
 * @author zd
 * @date 2022-06-13
 */
@ApiModel("气瓶流程详情")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class QpFlowDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /** 主表uuid */
    @Excel(name = "主表uuid")
    @Length(message = "主表uuid长度不能超过50")
    @ApiModelProperty(value = "主表uuid")
    private String uuid;

    /** 工号 */
    @Excel(name = "工号")
    @Length(message = "工号长度不能超过50")
    @ApiModelProperty(value = "工号")
    private String userNumber;

    /** 所属流程 1.资格申请、2.用气申请 */
    @Excel(name = "所属流程 1.资格申请、2.用气申请")
    @Length(message = "所属流程 1.资格申请、2.用气申请")
    @ApiModelProperty(value = "所属流程 1.资格申请、2.用气申请")
    private Integer flowType;

    /** 类型,1实验室 2实验中心 */
    @Excel(name = "类型,1实验室 2实验中心")
    @ApiModelProperty(value = "类型,1实验室 2实验中心")
    private Long userType;
    /** 审核人姓名 */
    @Excel(name = "审核人姓名")
    @Length(message = "审核人姓名长度不能超过255")
    @ApiModelProperty(value = "审核人姓名")
    private String userName;
    /** 电话 */
    @Excel(name = "电话")
    @Length(message = "电话长度不能超过20")
    @ApiModelProperty(value = "电话")
    private String userTelephone;
    /** 用户id*/
    @Excel(name = "用户id")
    @Length(message = "长度不能超过50")
    @ApiModelProperty(value = "用户id")
    private Long userId;
    /** 部门id*/
    @Excel(name = "部门id")
    @Length(message = "长度不能超过50")
    @ApiModelProperty(value = "部门id")
    private Long deptId;
    /** 部门名称*/
    @Excel(name = "部门名称")
    @Length(message = "长度不能超过50")
    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @Override
    public Long getUserId() {        return userId;    }

    @Override
    public Long getDeptId() {        return deptId;    }

    @Override
    public void setDeptId(Long deptId) {        this.deptId = deptId;    }

    public String getDeptName() {        return deptName;    }
    @Override
    public void setDeptName(String deptName) {        this.deptName = deptName;    }

    @Override
    public void setUserId(Long userId) {        this.userId = userId;    }


}
