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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - PMS 货位 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotCargoLocationRespVO {

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

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

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

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

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

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

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

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

    @Schema(description = "库存地点名称")
    @ExcelProperty("库存地点名称")
    private String storageLocationName;

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

    @Schema(description = "仓库区域(A区 B区)名称", example = "区域")
    @ExcelProperty("仓库区域(A区 B区)名称")
    private String storageAreaName;

    @Schema(description = "货架id", example = "9384")
    @ExcelProperty("货架id")
    private Long shelvesId;

    @Schema(description = "货架名称", example = "货架1")
    @ExcelProperty("货架名称")
    private String shelvesName;

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

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

    @Schema(description = "货位类型", example = "1")
    @ExcelProperty("货位类型")
    private Integer type;

    @Schema(description = "排号（货架的水平分区）")
    @ExcelProperty("排号（货架的水平分区）")
    private Integer row;

    @Schema(description = "层号（货架的垂直分区）")
    @ExcelProperty("层号（货架的垂直分区）")
    private Integer layer;

    @Schema(description = "列号（货架的纵深分区）")
    @ExcelProperty("列号（货架的纵深分区）")
    private Integer columnNumber;

    @Schema(description = "货位容量（单位：可自定义，如件数、体积m³、重量kg）")
    @ExcelProperty("货位容量（单位：可自定义，如件数、体积m³、重量kg）")
    private BigDecimal capacity;

    @Schema(description = "当前已使用容量")
    @ExcelProperty("当前已使用容量")
    private BigDecimal currentUsage;

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

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

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}