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

import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 仓库工厂关系分页 Request VO")
@Data
public class WarehouseFactoryPageReqVO extends PageParam {

    @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")
    private Long mainWarehouseId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}