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

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

@Schema(description = "管理后台 - 部门持有指标新增/修改 Request VO")
@Data
public class BusinessDepartmentIndicatorSaveReqVO {

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

    @Schema(description = "指标ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11268")
    @NotNull(message = "指标ID不能为空")
    private Long indicatorId;

    @Schema(description = "计量单位ID", example = "16200")
    private Long unitId;

    @Schema(description = "规则ID", example = "11174")
    private Long ruleId;

    @Schema(description = "算法ID", example = "20986")
    private Long algorithmId;

    @Schema(description = "实体ID", example = "2678")
    private Long entityId;

    @Schema(description = "值")
    private String value;

    @Schema(description = "是否关键指标")
    private Integer isKey;

    @Schema(description = "排序号")
    private Long sort;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "备注不能为空")
    private String remark;

}