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

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "25522")
    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 = "类型;数据字典(SPLY_FACT_TP)", example = "2")
    private String type;

    @Schema(description = "绑定工厂名称", example = "赵六")
    private String relativityName;

    @Schema(description = "绑定工厂编码")
    private String relativityNumber;

    @Schema(description = "是否启用")
    private String isEnable;

    @Schema(description = "操作类型", example = "2")
    private String operationType;
    @Schema(description = "公司名称-业务")
    private String companyNameCustom;
    @Schema(description = "公司编号-业务")
    private String companyIdCustom;

}