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

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

import org.springframework.validation.annotation.Validated;

@Schema(description = "管理后台 - 仓库工厂关系新增/修改 Request VO")
@Data
@Validated
public class WarehouseFactorySaveReqVO {

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

    @Schema(description = "公司名称")
    private String companyNameCustom;

    @Schema(description = "公司编码")
    private String companyIdCustom;

    @Schema(description = "操作类型", example = "2")
    private String operationType;

    @Schema(description = "业务类型", example = "2")
    private String mmsiType;

    @Schema(description = "erp源工厂名称", example = "赵六")
    private String erpSourceFactoryName;

    @Schema(description = "erp源工厂编码")
    private String erpSourceFactoryNumber;

    @Schema(description = "erp源库位名称", example = "赵六")
    private String erpSourceWarehouseName;

    @Schema(description = "erp源库位编码")
    private String erpSourceWarehouseNumber;

    @Schema(description = "erp目标工厂名称", example = "赵六")
    private String erpTargetFactoryName;

    @Schema(description = "erp目标工厂编码")
    private String erpTargetFactoryNumber;

    @Schema(description = "erp目标库位名称", example = "ZT")
    private String erpTargetWarehouseName;

    @Schema(description = "erp目标库位编码")
    private String erpTargetWarehouseNumber;

    @Schema(description = "主库位ID")
    @NotNull(message = "主库位ID不能为空")
    private Long mainWarehouseId;

}