package com.zt.plat.module.erp.controller.admin.erp.vo;

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

@Schema(description = "管理后台 - ERP公司新增/修改 Request VO")
@Data
public class ErpCompanySaveReqVO {

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

    @Schema(description = "本位币", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "本位币不能为空")
    private String currency;

}