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/9 14:27
 */
@Data
@ApiModel
public class UpdateExecutiveListRequest {
    @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<UpdateExecutiveListDTO> executiveList;
}
