package com.hx.warehouse.dto.order.stock;
|
|
import lombok.Data;
|
|
import java.util.List;
|
|
/**
|
* 出入库参数
|
* @author fwq
|
*/
|
@Data
|
public class StockChangeDto {
|
/************************必填******************************/
|
/**改变类型标识(具体类型)(查表shop_warehouse_type拿id)*/
|
private String changeType;
|
/**关联的公共类型(具体看下面的常量)*/
|
private Integer commonType;
|
/**关联的公共标识*/
|
private String commonId;
|
/**创建人类型(具体看下面的常量)*/
|
private Integer creatorType;
|
/**创建人标识*/
|
private String creator;
|
/**创建人名称*/
|
private String creatorName;
|
/**操作门店*/
|
private String opShopId;
|
/**备注信息*/
|
private String remarks;
|
/**库存改变明细*/
|
List<StockChangeItemDto> stockItemList;
|
|
/************************非必填******************************/
|
/**出入库人标识(员工)*/
|
private String opStockId;
|
/**出入库人标识(员工)名*/
|
private String opStockName;
|
/**供应商标识(供应商表)*/
|
private String supplierId;
|
/**供应商名*/
|
private String supplierName;
|
/**领用科室标识(科室表)*/
|
private String roomId;
|
/**领用科室名*/
|
private String roomName;
|
/**领用部门标识(部门表)*/
|
private String departmentId;
|
/**领用部门名*/
|
private String departmentName;
|
/**领用人标识(员工)*/
|
private String receiver;
|
/**领用人名*/
|
private String receiverName;
|
/**用户标识*/
|
private String customer;
|
/**用户名*/
|
private String customerName;
|
/**发票号*/
|
private String bill;
|
/**金博出库类型(GoldOtherOutEnum传code)*/
|
private Integer goldOutType;
|
|
|
|
/**关联的公共类型-提货单出库*/
|
public static Integer COMMON_TYPE_PICK_UP = 0;
|
/**关联的公共类型-划扣正常出库*/
|
public static Integer COMMON_TYPE_BUCKLE = 1;
|
/**关联的公共类型-划扣修改出库*/
|
public static Integer COMMON_TYPE_UPDATE_OUT = 2;
|
|
/**关联的公共类型-划扣修改入库*/
|
public static Integer COMMON_TYPE_UPDATE_IN = 3;
|
/**关联的公共类型-商品退回入库*/
|
public static Integer COMMON_TYPE_GOODS_RETURN = 4;
|
|
|
/**创建人类型-系统*/
|
public static Integer CREATE_TYPE_SYS = 0;
|
/**创建人类型-员工*/
|
public static Integer CREATE_TYPE_EMPLOYEE = 1;
|
/**创建人类型-用户*/
|
public static Integer CREATE_TYPE_USER = 2;
|
/**创建人类型-后台管理员*/
|
public static Integer CREATE_TYPE_ADMIN = 3;
|
}
|