package com.zd.chemical.domain.vo;

import com.zd.chemical.domain.ActApplytask;
import com.zd.chemical.domain.ActHxpapplyDetail;
import com.zd.common.core.annotation.Excel;
import com.zd.common.core.web.domain.BaseEntity;
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 java.util.ArrayList;
import java.util.List;

/**
 * 化学品申购对象 act_hxpapply
 *
 * @author cyl
 * @date 2022-08-17
 */
@ApiModel("化学品申请单")
@Data
public class ActHxpapplyInfoVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 申购编号，由（年月日时分秒组成） */
    @Excel(name = "申购编号，由（年月日时分秒组成）")
    @ApiModelProperty(value = "申购编号，由（年月日时分秒组成）")
    private String applyNum;

    /** 申购原因 */
    @Excel(name = "申购原因")
    @Length(message = "申购原因长度不能超过50")
    @ApiModelProperty(value = "申购原因")
    private String applyReason;

    /** 实验室id */
    @Excel(name = "实验室id")
    @ApiModelProperty(value = "实验室id")
    private Long subId;

    /** 实验室名称 */
    @Excel(name = "实验室名称")
    @ApiModelProperty(value = "实验室名称")
    private String subName;

    private Integer approvalStatus;

    /** 申购人 */
    @ApiModelProperty(value = "申购人")
    private String applyUserName;

    /** 化学品申购详细信息 */
    @ApiModelProperty(value = "化学品申购详细信息")
    private List <ActHxpapplyDetailVo> actHxpapplyDetailList = new ArrayList<>();

    /** 审批配置列表 */
    @ApiModelProperty(value = "审批配置列表")
    List <ActAuditconfigInfoVo> configInfoList = new ArrayList <>();


    /** 审批配置列表 */
    @ApiModelProperty(value = "审批配置列表")
    private ActApplytask actApplytask;

}
