package com.iailab.module.model.mcs.sche.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author PanZhibao
 * @Description
 * @createTime 2024年09月06日
 */
@Schema(description = "模型服务 - 调度方案 Response VO")
@Data
public class StScheduleSchemeRespVO {

    @Schema(description = "ID", example = "ID")
    private String id;

    @Schema(description = "编号", example = "编号")
    private String code;

    @Schema(description = "名称", example = "名称")
    private String name;

    @Schema(description = "触发方式", example = "事件触发")
    private String triggerMethod;

    @Schema(description = "触发条件", example = "mcs.predict.finished")
    private String triggerCondition;

    @Schema(description = "调整对象", example = "电厂")
    private String scheduleObj;

    @Schema(description = "调整类型", example = "调整类型")
    private String scheduleType;

    @Schema(description = "调整策略", example = "调整策略")
    private String scheduleStrategy;

    @Schema(description = "调度模型", example = "调度模型")
    private String modelId;

    @Schema(description = "调度时间", example = "2024-09-01 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date scheduleTime;

    @Schema(description = "备注", example = "备注")
    private String remark;

    @Schema(description = "状态(0正常 1停用)", example = "0")
    private Integer status;

    @Schema(description = "项目ID")
    private String mpkprojectid;

    @Schema(description = "运行状态")
    private String runStatus;
}