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 ErpPurchaseOrganizationSaveReqVO {

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

    @Schema(description = "采购组织编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "采购组织编号不能为空")
    private String number;

    @Schema(description = "采购组织描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "采购组织描述不能为空")
    private String name;

    @Schema(description = "公司编码;存入ERP公司编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "公司编码;存入ERP公司编码不能为空")
    private String companyNumber;

}