package cn.iocoder.yudao.module.pms.controller.admin.iotshelves.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - PMS 货架分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotShelvesPageReqVO extends PageParam {

    @Schema(description = "部门id", example = "32315")
    private Long deptId;

    @Schema(description = "工厂id(SAP) 专业公司id system_sap_org表id", example = "16927")
    private Long factoryId;

    @Schema(description = "工厂code")
    private String factoryCode;

    @Schema(description = "工厂name", example = "赵六")
    private String factoryName;

    @Schema(description = "成本中心id (system_sap_org表id)", example = "15077")
    private Long costCenterId;

    @Schema(description = "成本中心 code")
    private String costCenterCode;

    @Schema(description = "库存地点id (system_sap_org表id)", example = "2176")
    private Long storageLocationId;

    @Schema(description = "库存地点 - 项目部")
    private String storageLocationCode;

    @Schema(description = "仓库区域(A区 B区)", example = "9339")
    private Long storageAreaId;

    @Schema(description = "货架编码")
    private String code;

    @Schema(description = "货架名称", example = "芋艿")
    private String name;

    @Schema(description = "货架类型", example = "2")
    private Integer type;

    @Schema(description = "显示顺序")
    private Integer sort;

    @Schema(description = "状态 0启用  1停用", example = "2")
    private Integer status;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

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

}