package com.bonus.material.purchase.domain.dto;

import com.bonus.material.purchase.domain.PurchaseCheckDetails;
import com.bonus.material.purchase.domain.PurchaseCheckInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @author : 阮世耀
 * @version : 1.0
 * @PackagePath: com.bonus.material.purchase
 * @CreateTime: 2024-10-18  09:52
 * @Description: 新购任务新增-请求参数封装DTO
 */
@Data
public class PurchaseCheckDto {

    /**
     * 采购验收任务info
     */
    @ApiModelProperty(value = "采购验收任务info")
    @NotNull(message = "采购验收任务info对象不能为空")
    private PurchaseCheckInfo purchaseCheckInfo;

    /**
     * 采购验收任务详情集合
     */
    @ApiModelProperty(value = "采购验收任务详情集合")
    private List<PurchaseCheckDetails> purchaseCheckDetailsList;

}
