package com.zt.plat.module.base.controller.admin.untInfo.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 UntInfoSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18527")
    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 smb;

}