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
 * 
 * @author zd
 * @date 2022-06-13
 */
@ApiModel("气瓶审核流程")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class QpFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /** 流程名称 */
    @Excel(name = "流程名称")
    @Length(message = "流程名称长度不能超过50")
    @ApiModelProperty(value = "流程名称")
    private String flowName;
    /** 流程适用类型（1.资格申请、2.用气申请） */
    @Excel(name = "流程适用类型", readConverterExp = "1=.资格申请、2.用气申请")
    @ApiModelProperty(value = "流程适用类型")
    private Long flowType;
    /** 流程主键 */
    @Excel(name = "流程主键")
    @Length(message = "流程主键长度不能超过50")
    @ApiModelProperty(value = "流程主键")
    private String uuid;
    /** 创建人 */
    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人")
    private Long createUserid;
    /** 创建姓名 */
    @Excel(name = "创建姓名")
    @Length(message = "创建姓名长度不能超过255")
    @ApiModelProperty(value = "创建姓名")
    private String createUser;
}
