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

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

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

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

    @Schema(description = "模型名称", example = "模型")
    private String modelName;

    @Schema(description = "版本号", example = "v1.0.0")
    private String version;

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

    @Schema(description = "状态（0-禁用 1-启用 2-测试中 3-已废弃）", example = "1")
    private Integer status;

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

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

}
