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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

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

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

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "编号不能为空")
    private String code;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "名称不能为空")
    private String name;

    @Schema(description = "触发方式")
    private String triggerMethod;

    @Schema(description = "触发条件")
    private String triggerCondition;

    @Schema(description = "调整对象")
    private String scheduleObj;

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

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

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

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

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

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

    @Schema(description = "调整速率")
    private Integer adjustRate;
}