package com.casic.missiles.dto.business.labExecutive;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description: 分发请求实体
 * @Author: wangpeng
 * @Date: 2023/2/13 15:53
 */
@Data
@ApiModel
public class SampleHandOutRequest {
    @NotNull(message = "委托书id不能为空")
    @ApiModelProperty(value = "委托书id", dataType = "Long")
    private Long orderId;

    @NotNull(message = "样品id不能为空")
    @ApiModelProperty(value = "样品id", dataType = "Long")
    private Long sampleId;

    @NotEmpty(message = "检定流程不能为空")
    @ApiModelProperty(value = "检定流程", dataType = "List")
    private List<HandOutProcessDTO> measureProcessList;
}
