parent
06855268a3
commit
046942137b
3 changed files with 389 additions and 0 deletions
@ -0,0 +1,172 @@ |
|||||||
|
package org.springblade.wms.pojo.entity; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.EqualsAndHashCode; |
||||||
|
import org.springblade.core.tenant.mp.TenantEntity; |
||||||
|
import org.springframework.data.annotation.Transient; |
||||||
|
|
||||||
|
import java.io.Serial; |
||||||
|
import java.util.Date; |
||||||
|
|
||||||
|
/** |
||||||
|
* @version 1.0 |
||||||
|
* @program: jonhon-mes-svr |
||||||
|
* @ClassName StStockInoutRecord |
||||||
|
* @description: 出入库记录表 实体类 |
||||||
|
* @autor: WuSiYu |
||||||
|
* @create 2026-01-04 11:08 |
||||||
|
**/ |
||||||
|
|
||||||
|
@Data |
||||||
|
@TableName("ST_STOCK_INOUT_RECORD") |
||||||
|
@Schema(description = "StStockInoutRecord对象") |
||||||
|
@EqualsAndHashCode(callSuper = true) |
||||||
|
public class StStockInoutRecord extends TenantEntity { |
||||||
|
|
||||||
|
@Serial |
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
/** |
||||||
|
* 库位ID(关联st_storage_location表主键) |
||||||
|
*/ |
||||||
|
@Schema(description = "库位ID(关联st_storage_location表主键)") |
||||||
|
private Long slId; |
||||||
|
/** |
||||||
|
* 库存ID(关联st_realtime_stock表主键) |
||||||
|
*/ |
||||||
|
@Schema(description = "库存ID(关联st_realtime_stock表主键)") |
||||||
|
private Long rlsId; |
||||||
|
/** |
||||||
|
* 仓库ID(关联st_storehouse表主键) |
||||||
|
*/ |
||||||
|
@Schema(description = "仓库ID(关联st_storehouse表主键)") |
||||||
|
private Long shId; |
||||||
|
/** |
||||||
|
* 批号 |
||||||
|
*/ |
||||||
|
@Schema(description = "批号") |
||||||
|
private String piNo; |
||||||
|
/** |
||||||
|
* 出入库数量 |
||||||
|
*/ |
||||||
|
@Schema(description = "出入库数量") |
||||||
|
private Double quantity; |
||||||
|
/** |
||||||
|
* 金额 |
||||||
|
*/ |
||||||
|
@Schema(description = "金额") |
||||||
|
private Double sirMoney; |
||||||
|
/** |
||||||
|
* 采购单号 |
||||||
|
*/ |
||||||
|
@Schema(description = "采购单号") |
||||||
|
private String buyCode; |
||||||
|
/** |
||||||
|
* 检验单号 |
||||||
|
*/ |
||||||
|
@Schema(description = "检验单号") |
||||||
|
private String checkNo; |
||||||
|
/** |
||||||
|
* 生产标识 |
||||||
|
*/ |
||||||
|
@Schema(description = "生产标识") |
||||||
|
private String quantityLevel; |
||||||
|
/** |
||||||
|
* 是否模架物料 1=是/0=否(默认值:0) |
||||||
|
*/ |
||||||
|
@Schema(description = "是否模架物料 1=是/0=否(默认值:0)") |
||||||
|
private Boolean moldBaseMaterial; |
||||||
|
/** |
||||||
|
* 过期/报废日期 |
||||||
|
*/ |
||||||
|
@Schema(description = "过期/报废日期") |
||||||
|
private Date scrapCycle; |
||||||
|
/** |
||||||
|
* 炉批号 |
||||||
|
*/ |
||||||
|
@Schema(description = "炉批号") |
||||||
|
private String stovePiNo; |
||||||
|
/** |
||||||
|
* 分厂id |
||||||
|
*/ |
||||||
|
@Schema(description = "分厂id") |
||||||
|
private String deptId; |
||||||
|
/** |
||||||
|
* 车间订单号 |
||||||
|
*/ |
||||||
|
@Schema(description = "车间订单号") |
||||||
|
private String woCode; |
||||||
|
/** |
||||||
|
* 出入库类型/出库或入库 |
||||||
|
*/ |
||||||
|
@Schema(description = "出入库类型/出库或入库") |
||||||
|
private String inOutType; |
||||||
|
/** |
||||||
|
* 出入库原因 |
||||||
|
*/ |
||||||
|
@Schema(description = "出入库原因") |
||||||
|
private String inOutReason; |
||||||
|
/** |
||||||
|
* 出入库日期 |
||||||
|
*/ |
||||||
|
@Schema(description = "出入库日期") |
||||||
|
private Date inOutDate; |
||||||
|
/** |
||||||
|
* 出入库来源 |
||||||
|
*/ |
||||||
|
@Schema(description = "出入库来源") |
||||||
|
private Short inOutSource; |
||||||
|
/** |
||||||
|
* 业务人员/领用人ID |
||||||
|
*/ |
||||||
|
@Schema(description = "业务人员/领用人ID") |
||||||
|
private Long userId; |
||||||
|
/** |
||||||
|
* 出入库单号 |
||||||
|
*/ |
||||||
|
@Schema(description = "出入库单号") |
||||||
|
private String sirCode; |
||||||
|
/** |
||||||
|
* 物料ID(关联st_goods表主键) |
||||||
|
*/ |
||||||
|
@Schema(description = "物料ID(关联st_goods表主键)") |
||||||
|
private Long goodsId; |
||||||
|
/** |
||||||
|
* 总金额 |
||||||
|
*/ |
||||||
|
private Double allMoney; |
||||||
|
/** |
||||||
|
* 保管员 |
||||||
|
*/ |
||||||
|
private String keeper; |
||||||
|
/** |
||||||
|
* 厚度 |
||||||
|
*/ |
||||||
|
private String thickness; |
||||||
|
/** |
||||||
|
* 物料需求ID |
||||||
|
*/ |
||||||
|
@Schema(description = "物料需求ID关联PvBomRequest") |
||||||
|
private Long brId; |
||||||
|
|
||||||
|
private Date warehousingDate; |
||||||
|
|
||||||
|
private String barCode; |
||||||
|
|
||||||
|
/*1:采购入库,2.生产入库,3:其他入库,4调拨入库,5erp转移入库,7生产退料 |
||||||
|
11:配额出库,12:其他出库,13:领料出库 15刀具出库*/ |
||||||
|
public static final Short INOUT_SOURCE_PURCHASE_RECEIPT = 1; |
||||||
|
public static final Short INOUT_SOURCE_PRODUCE_PURCHASE_RECEIPT = 2; |
||||||
|
public static final Short INOUT_SOURCE_OTHER_PURCHASE_RECEIPT = 3; |
||||||
|
public static final Short INOUT_SOURCE_TRANSFER_RECEIPT = 4; |
||||||
|
public static final Short INOUT_SOURCE_WAREHOUSE_TRANSFER = 5; |
||||||
|
public static final Short INOUT_SOURCE_PRODUCTION_MATERIAL_RETURN = 7; |
||||||
|
public static final Short INOUT_SOURCE_QUOTA_OUT = 11; |
||||||
|
public static final Short INOUT_SOURCE_OTHER_OUT = 12; |
||||||
|
public static final Short INOUT_SOURCE_ASSIGN_OUT = 13; |
||||||
|
public static final Short INOUT_SOURCE_TOOl_OUT = 15; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
@ -0,0 +1,67 @@ |
|||||||
|
package org.springblade.wms.pojo.entity; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField; |
||||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.EqualsAndHashCode; |
||||||
|
import org.springblade.core.tenant.mp.TenantEntity; |
||||||
|
|
||||||
|
import java.io.Serial; |
||||||
|
|
||||||
|
/** |
||||||
|
* @version 1.0 |
||||||
|
* @program: jonhon-mes-svr |
||||||
|
* @ClassName StStorageLocation |
||||||
|
* @description: 库位维护表 实体类 |
||||||
|
* @autor: WuSiYu |
||||||
|
* @create 2025-12-18 14:33 |
||||||
|
**/ |
||||||
|
|
||||||
|
@Data |
||||||
|
@TableName("ST_STORAGE_LOCATION") |
||||||
|
@Schema(description = "StStorageLocation对象") |
||||||
|
@EqualsAndHashCode(callSuper = true) |
||||||
|
public class StStorageLocation extends TenantEntity { |
||||||
|
|
||||||
|
@Serial |
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
/** |
||||||
|
* 库房ID(关联st_storehouse表) |
||||||
|
*/ |
||||||
|
@Schema(description = "库房ID(关联st_storehouse表)") |
||||||
|
private Long shId; |
||||||
|
/** |
||||||
|
* 库位号 |
||||||
|
*/ |
||||||
|
@Schema(description = "库位号") |
||||||
|
private String location; |
||||||
|
/** |
||||||
|
* 物料编号(关联st_goods表goods_code字段) |
||||||
|
*/ |
||||||
|
@Schema(description = "物料编号(关联st_goods表goods_code字段)") |
||||||
|
private String goodsCode; |
||||||
|
/** |
||||||
|
* 物料名称 |
||||||
|
*/ |
||||||
|
@Schema(description = "物料名称") |
||||||
|
private String goodsName; |
||||||
|
/** |
||||||
|
* 物料规格 |
||||||
|
*/ |
||||||
|
@Schema(description = "物料规格") |
||||||
|
private String specifications; |
||||||
|
/** |
||||||
|
* 型号/牌号 |
||||||
|
*/ |
||||||
|
@Schema(description = "型号/牌号") |
||||||
|
private String materialModel; |
||||||
|
/** |
||||||
|
* 部门ID |
||||||
|
*/ |
||||||
|
@Schema(description = "部门ID") |
||||||
|
private Long deptId; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
@ -0,0 +1,150 @@ |
|||||||
|
package org.springblade.wms.pojo.entity; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.EqualsAndHashCode; |
||||||
|
import org.springblade.core.tenant.mp.TenantEntity; |
||||||
|
|
||||||
|
import java.io.Serial; |
||||||
|
import java.util.Date; |
||||||
|
|
||||||
|
/** |
||||||
|
* @version 1.0 |
||||||
|
* @program: jonhon-mes-svr |
||||||
|
* @ClassName StStoreBill |
||||||
|
* @description: 仓库凭证 实体类 |
||||||
|
* @autor: WuSiYu |
||||||
|
* @create 2026-01-15 13:21 |
||||||
|
**/ |
||||||
|
|
||||||
|
@Data |
||||||
|
@TableName("ST_STORE_BILL") |
||||||
|
@Schema(description = "StStoreBill对象") |
||||||
|
@EqualsAndHashCode(callSuper = true) |
||||||
|
public class StStoreBill extends TenantEntity { |
||||||
|
|
||||||
|
@Serial |
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
/** |
||||||
|
* 凭证分类;1,物料入库;2,物料出库;3,借用;4,归还;5,调出;6,调入;7,提请 ; |
||||||
|
*/ |
||||||
|
@Schema(description = "凭证分类;1,物料入库;2,物料出库;3,借用;4,归还;5,调出;6,调入;7,提请 ;") |
||||||
|
private Short billFlag; |
||||||
|
/** |
||||||
|
* 收发标志;true:入库,false:出库 |
||||||
|
*/ |
||||||
|
@Schema(description = "收发标志;true:入库,false:出库") |
||||||
|
private String reCeOrSend; |
||||||
|
/** |
||||||
|
* 物料信息 |
||||||
|
*/ |
||||||
|
@Schema(description = "物料信息") |
||||||
|
private Long goodsId; |
||||||
|
/** |
||||||
|
* 数量 |
||||||
|
*/ |
||||||
|
@Schema(description = "数量") |
||||||
|
private Double quantity; |
||||||
|
/** |
||||||
|
* 批号 |
||||||
|
*/ |
||||||
|
@Schema(description = "批号") |
||||||
|
private String piNo; |
||||||
|
/** |
||||||
|
* 金额 |
||||||
|
*/ |
||||||
|
@Schema(description = "金额") |
||||||
|
private Double money; |
||||||
|
/** |
||||||
|
* 使用次数 |
||||||
|
*/ |
||||||
|
@Schema(description = "使用次数") |
||||||
|
private Long useNum; |
||||||
|
/** |
||||||
|
* 检验编码 |
||||||
|
*/ |
||||||
|
@Schema(description = "检验编码") |
||||||
|
private String checkCode; |
||||||
|
/** |
||||||
|
* 凭证单号 |
||||||
|
*/ |
||||||
|
@Schema(description = "凭证单号") |
||||||
|
private String billCode; |
||||||
|
/** |
||||||
|
* 凭证日期 |
||||||
|
*/ |
||||||
|
@Schema(description = "凭证日期") |
||||||
|
private Date billDate; |
||||||
|
/** |
||||||
|
* 部门;外键(部门) |
||||||
|
*/ |
||||||
|
@Schema(description = "部门;外键(部门)") |
||||||
|
private String deptId; |
||||||
|
/** |
||||||
|
* 人员;外键(人员) |
||||||
|
*/ |
||||||
|
@Schema(description = "人员;外键(人员)") |
||||||
|
private Long billMan; |
||||||
|
/** |
||||||
|
* 原因;外键(原因) |
||||||
|
*/ |
||||||
|
@Schema(description = "原因;外键(原因)") |
||||||
|
private String bcId; |
||||||
|
/** |
||||||
|
* 来源;0:正常;1:采购;2:生产; |
||||||
|
*/ |
||||||
|
@Schema(description = "来源;0:正常;1:采购;2:生产;") |
||||||
|
private Short billSource; |
||||||
|
/** |
||||||
|
* 备注 |
||||||
|
*/ |
||||||
|
@Schema(description = "备注") |
||||||
|
private String memo; |
||||||
|
/** |
||||||
|
* 仓库;外键(仓库) |
||||||
|
*/ |
||||||
|
@Schema(description = "仓库;外键(仓库)") |
||||||
|
private Long stoId; |
||||||
|
/** |
||||||
|
* 状态;1:新建,20:完成 |
||||||
|
*/ |
||||||
|
@Schema(description = "状态;1:新建,20:完成") |
||||||
|
private Short curStatus; |
||||||
|
/** |
||||||
|
* 到期日期 |
||||||
|
*/ |
||||||
|
@Schema(description = "到期日期") |
||||||
|
private Date expirationDate; |
||||||
|
/** |
||||||
|
* 库位ID |
||||||
|
*/ |
||||||
|
@Schema(description = "库位ID") |
||||||
|
private Long slId; |
||||||
|
/** |
||||||
|
* 库房ID |
||||||
|
*/ |
||||||
|
@Schema(description = "库房ID") |
||||||
|
private Long shId; |
||||||
|
|
||||||
|
/** |
||||||
|
* 借用 |
||||||
|
*/ |
||||||
|
public static Short BILLSOURCE_BORROW = 4; |
||||||
|
/** |
||||||
|
* 归还 |
||||||
|
*/ |
||||||
|
public static Short BILLSOURCE_RETURN = 5; |
||||||
|
|
||||||
|
/** |
||||||
|
* 新建 |
||||||
|
*/ |
||||||
|
public static Short CURSTATUS_NEW = 1; |
||||||
|
/** |
||||||
|
* 完成 |
||||||
|
*/ |
||||||
|
public static Short CURSTATUS_COMPLETE = 20; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
Loading…
Reference in new issue