| | |
| | | package cn.iocoder.yudao.module.research.controller.admin.application.vo; |
| | | |
| | | import cn.iocoder.yudao.module.research.controller.admin.application.vo.member.ResearchApplicationMemberSaveReqVO; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.Valid; |
| | | import jakarta.validation.constraints.NotBlank; |
| | | import jakarta.validation.constraints.NotEmpty; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Pattern; |
| | | import jakarta.validation.constraints.PositiveOrZero; |
| | | import lombok.Data; |
| | | |
| | |
| | | @Schema(description = "职称", example = "教授") |
| | | private String jobTitle; |
| | | |
| | | @Schema(description = "联系电话", example = "13800138000") |
| | | @Schema(description = "联系电话(必填,11 位手机号)", requiredMode = Schema.RequiredMode.REQUIRED, |
| | | example = "13800138000") |
| | | @NotBlank(message = "联系电话不能为空") |
| | | @Pattern(regexp = "^1[3-9]\\d{9}$", message = "联系电话格式不正确,请输入正确的 11 位手机号") |
| | | private String contactPhone; |
| | | |
| | | @Schema(description = "联系邮箱", example = "zhangsan@example.com") |
| | | private String contactEmail; |
| | | |
| | | @Schema(description = "课题组成员(每行一条:姓名|单位|职称)") |
| | | @Schema(description = "课题组成员(旧版文本字段,仅保留兼容;新数据请使用 members)") |
| | | private String teamMembers; |
| | | |
| | | @Schema(description = "课题组成员列表(子表)") |
| | | @Valid |
| | | private List<ResearchApplicationMemberSaveReqVO> members; |
| | | |
| | | @Schema(description = "申请经费(元)", example = "100000.00") |
| | | @PositiveOrZero(message = "申请经费不能为负数") |
| | | private BigDecimal budgetAmount; |