|
|
@@ -10,40 +10,41 @@ import java.math.BigDecimal;
|
|
|
@Data
|
|
|
public class OaBusinessSaveReqVO {
|
|
|
|
|
|
- @Schema(description = "出差表单主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @Schema(description = "出差表单主键")
|
|
|
private Long id;
|
|
|
|
|
|
- @Schema(description = "出差人id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @Schema(description = "出差人id")
|
|
|
@NotNull(message = "出差人id不能为空")
|
|
|
private Long employeeId;
|
|
|
|
|
|
- @Schema(description = "出差事由", requiredMode = Schema.RequiredMode.REQUIRED, example = "不香")
|
|
|
+ @Schema(description = "出差事由")
|
|
|
@NotBlank(message = "出差事由不能为空")
|
|
|
private String reason;
|
|
|
|
|
|
- @Schema(description = "出差目的地", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "出差目的地")
|
|
|
@NotBlank(message = "出差目的地不能为空")
|
|
|
private String destination;
|
|
|
|
|
|
- @Schema(description = "出差开始日期", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "出差开始日期")
|
|
|
@NotBlank(message = "出差开始日期不能为空")
|
|
|
private String startDate;
|
|
|
|
|
|
- @Schema(description = "出差结束日期", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "出差结束日期")
|
|
|
@NotBlank(message = "出差结束日期不能为空")
|
|
|
private String endDate;
|
|
|
|
|
|
@Schema(description = "出差天数(d)")
|
|
|
+ @NotBlank(message = "出差天数(d)不能为空")
|
|
|
private String day;
|
|
|
|
|
|
- @Schema(description = "出差预算费用,单位(元)", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "出差预算费用,单位(元)")
|
|
|
@NotNull(message = "出差预算费用,单位(元)不能为空")
|
|
|
private BigDecimal estimatedCost;
|
|
|
|
|
|
- @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "备注")
|
|
|
private String remarks;
|
|
|
|
|
|
- @Schema(description = "发起人选择的审批人", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "发起人选择的审批人", example = "[100,1]")
|
|
|
@NotEmpty(message = "发起人选择的审批人不能为空")
|
|
|
private List<Long> startUserSelectAssignees;
|
|
|
|