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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - PMS 本地 库存新增/修改 Request VO")
@Data
public class IotLockStockSaveReqVO {

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

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

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

    @Schema(description = "库存地点id", example = "4517")
    private Long storageLocationId;
    @Schema(description = "库存地点 - SAP 部门 项目部级")
    private String projectDepartment;

    @Schema(description = "成本中心id", example = "4517")
    private Long costCenterId;
    @Schema(description = "成本中心(SAP) 库存地点 小队")
    private String costCenter;

    @Schema(description = "领料单号")
    private String pickingListNumber;

    @Schema(description = "物料编码")
    private String materialCode;

    @Schema(description = "物料名称", example = "王五")
    private String materialName;

    @Schema(description = "物料组", example = "芋艿")
    private String materialGroupName;

    @Schema(description = "物料组id", example = "23371")
    private Long materialGroupId;

    @Schema(description = "数量")
    private BigDecimal quantity;

    @Schema(description = "单价", example = "5632")
    private BigDecimal unitPrice;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "入库时间")
    private LocalDateTime storageTime;

    @Schema(description = "库区id", example = "4517")
    private Long storageAreaId;
    @Schema(description = "货架id", example = "4517")
    private Long shelvesId;
    @Schema(description = "货位id", example = "4517")
    private Long cargoLocationId;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "类型(1手工添加 2领料单转入)", example = "2")
    private Integer type;

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

    @Schema(description = "流程实例id", example = "11671")
    private String processInstanceId;

    @Schema(description = "审批状态 未提交、审批中、审批通过、审批不通过、已取消", example = "2")
    private Integer auditStatus;

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

}