package com.tashow.cloud.ai.controller.admin.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - AI模型")
@Data
public class AiModelSaveReqVO {

    @Schema(description = "主键", example = "1")
    private Long id;

    @Schema(description = "模型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "模型")
    @NotBlank(message = "模型名称不能为空")
    private String modelName;

    @Schema(description = "版本号", requiredMode = Schema.RequiredMode.REQUIRED, example = "v1.0.0")
    @NotBlank(message = "版本号不能为空")
    private String version;

    @Schema(description = "负载", example = "0.75")
    private BigDecimal loadPercentage;

    @Schema(description = "状态（0-禁用 1-启用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "版本描述", example = "描述")
    private String description;

}
