package cn.iocoder.lyzsys.module.tjt.controller.admin.planningguidedetail.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 合约规划指导价法明细批量保存 Request VO")
@Data
public class ProjectPlanningGuideDetailBatchSaveReqVO {

    @Schema(description = "合约规划 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "合约规划 ID 不能为空")
    private Long planningId;

    @Schema(description = "指导价法明细列表")
    @Valid
    private List<ProjectPlanningGuideDetailSaveReqVO> details;

}
