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;
|
|
}
|