package com.zt.plat.module.base.controller.admin.businessalgorithm.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 业务算法新增/修改 Request VO")
@Data
public class BusinessAlgorithmSaveReqVO {

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

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "类型不能为空")
    private String typeValue;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "状态不能为空")
    private String statusValue;

    @Schema(description = "算法编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "算法编码不能为空")
    private String code;

    @Schema(description = "算法名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "算法名称不能为空")
    private String name;

    @Schema(description = "算法描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "算法描述不能为空")
    private String description;

    @Schema(description = "算法代码")
    private String coding;

}