package com.zd.chemical.domain.vo;

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 zd
 * @date 2022-08-17
 */
@ApiModel("化学品申购")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class ActHxpapplyVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

    /** 申购原因 */
    @ApiModelProperty(value = "申购原因")
    private String applyReason;

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

    /** 申购状态，1表示提交，2表示保存草稿 */
    @ApiModelProperty(value = "申购状态，1表示提交，2表示保存草稿")
    private Integer applyStatus;

    @ApiModelProperty(value = "化学品申购详情列表")
    List <ActHxpapplyDetail> actHxpapplyDetailList = new ArrayList<>();
}
