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

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

@Schema(description = "管理后台 - 计量单位量新增/修改 Request VO")
@Data
public class UnitQuantitySaveReqVO {

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

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

    @Schema(description = "计量符号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "计量符号不能为空")
    private String symbol;

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

}