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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
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 = "管理后台 - ERP库位分页 Request VO")
@Data
public class InternalWarehousePageReqVO extends PageParam {

    @Schema(description = "工厂编码")
    private String factoryNumber;

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

    @Schema(description = "库位编码")
    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 = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

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

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

    @Schema(description = "工厂名称")
    private String factoryName;
}