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;

@Schema(description = "管理后台 - 模型迭代 ")
@Data
public class AiModelIterateReqVO {

    @Schema(description = "模型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "模型ID不能为空")
    private Long modelId;

    @Schema(description = "新版本号", requiredMode = Schema.RequiredMode.REQUIRED, example = "v2.0")
    @NotBlank(message = "新版本号不能为空")
    private String newVersion;

    @Schema(description = "版本描述", example = "优化算法性能")
    private String description;

}
