xiaoyi
4 天以前 c9d4ba37c1f681b12e24014013fa9a28734bad42
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package cn.iocoder.yudao.module.bi.controller.admin.decision.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 负荷预测联动创建工单 Request VO")
@Data
public class DecisionForecastWorkOrderCreateReqVO {
 
    @Schema(description = "负荷预测数据编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "负荷预测数据编号不能为空")
    private Long forecastId;
 
    @Schema(description = "工单名称", example = "负荷预测-发电工单")
    private String workOrderName;
 
    @Schema(description = "工单类型(4电力运维/5发电/6检修)", requiredMode = Schema.RequiredMode.REQUIRED, example = "5")
    @NotNull(message = "工单类型不能为空")
    private Integer workOrderType;
 
    @Schema(description = "需求日期", example = "2026-08-20 00:00:00")
    private LocalDateTime requestDate;
 
    @Schema(description = "生产数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1.00")
    private BigDecimal quantity;
 
    @Schema(description = "备注", example = "由负荷预测自动生成")
    private String remark;
 
}