package com.testor.module.emergency.model.dto;

import com.testor.module.emergency.model.domain.TEmergencyGoods;
import com.testor.module.emergency.model.domain.TEmergencyGoodsPosition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import java.util.List;


/**
 * 应急物资 删除参数对象
 *
 * @author testor-framework
 * @date 2022-10-08 17:31:31
 */

@Data
@Validated
@ApiModel(value = "TEmergencyGoods 列表查询参数对象")
public class TEmergencysDTO {
    @ApiModelProperty(value = "应急物资基本信息")
    private TEmergencyGoods tEmergencyGoods;

    @Valid
    @ApiModelProperty(value = " 应急物资存储信息")
    private List<@Valid TEmergencyGoodsPosition> tEmergencyGoodsPositionList;

}
