package cn.iocoder.yudao.module.research.controller.admin.application.vo; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotEmpty; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.PositiveOrZero; import lombok.Data; import java.math.BigDecimal; import java.util.List; @Schema(description = "管理后台 - 课题申报书新增/修改 Request VO") @Data public class ResearchApplicationSaveReqVO { @Schema(description = "编号", example = "1") private Long id; @Schema(description = "所属课题指南 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") @NotNull(message = "所属课题指南不能为空") private Long guidelineId; @Schema(description = "课题名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "智能制造产线数字孪生关键技术研究") @NotEmpty(message = "课题名称不能为空") private String title; @Schema(description = "申报会员 ID(关联 ums_member)", example = "1") private Long memberId; @Schema(description = "申报人姓名/单位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三") @NotEmpty(message = "申报人姓名不能为空") private String applicantName; @Schema(description = "工作单位", example = "XX大学") private String workUnit; @Schema(description = "职称", example = "教授") private String jobTitle; @Schema(description = "联系电话", example = "13800138000") private String contactPhone; @Schema(description = "联系邮箱", example = "zhangsan@example.com") private String contactEmail; @Schema(description = "课题组成员(每行一条:姓名|单位|职称)") private String teamMembers; @Schema(description = "申请经费(元)", example = "100000.00") @PositiveOrZero(message = "申请经费不能为负数") private BigDecimal budgetAmount; @Schema(description = "申报书正文(研究背景/目标/方案/预期成果)") private String planContent; @Schema(description = "备注", example = "依托单位已同意申报") private String remark; @Schema(description = "附件BlobId列表") private List blobIds; }