package com.zt.plat.module.base.controller.admin.base.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 WarehousePageReqVO extends PageParam {

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

    @Schema(description = "仓库名称", example = "李四")
    private String name;

    @Schema(description = "仓库编码")
    private String coding;

    @Schema(description = "公司编码")
    private String cpnName;
    @Schema(description = "erp工厂名称")
    private String erpFactoryName;
    @Schema(description = "erp工厂编码")
    private String erpFactoryNumber;

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

    @Schema(description = "工厂名称", example = "李四")
    private String factoryName;

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

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

    @Schema(description = "ERP库位编码")
    private String erpCoding;

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

}