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

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

@Schema(description = "管理后台 - 经营指标维度新增/修改 Request VO")
@Data
public class BusinessDimensionSaveReqVO {

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

    @Schema(description = "父级ID", example = "29218")
    private Long parentId;

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

    @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 = "备注")
    private String remark;

}