生产领料

This commit is contained in:
2023-07-19 17:32:56 +08:00
parent b2354f31bb
commit 48208de173
5 changed files with 257 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities;
/// <summary>
/// mes生产领料子表
/// </summary>
[SugarTable("prd_outstock_d")]
public partial class PrdOutstockD : BaseEntity<string>
{
public PrdOutstockD()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 物料id
/// </summary>
public string? material_id { get; set; }
/// <summary>
/// 物料编号
/// </summary>
public string? material_code { get; set; }
/// <summary>
/// 单位id
/// </summary>
public string? unit_id { get; set; }
/// <summary>
/// 出库需求数量
/// </summary>
public string? pr_qty { get; set; }
/// <summary>
/// 来源单据id
/// </summary>
public string? source_id { get; set; }
/// <summary>
/// 批次
/// </summary>
public string? code_batch { get; set; }
/// <summary>
/// 生产领料主表id
/// </summary>
public string? outstock_id { get; set; }
/// <summary>
/// 物料名称
/// </summary>
public string? material_name { get; set; }
}

View File

@@ -0,0 +1,72 @@
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities;
/// <summary>
/// mes生产领料主表
/// </summary>
[SugarTable("prd_outstock_h")]
public partial class PrdOutstockH : BaseEntity<string>
{
public PrdOutstockH()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 出库单创建日期
/// </summary>
public string? bill_date { get; set; }
/// <summary>
/// 单据类型
/// </summary>
public string? bill_type { get; set; }
/// <summary>
/// 发料仓库id
/// </summary>
public string? warehouse_id { get; set; }
/// <summary>
/// 目标库位编号
/// </summary>
public string? location_code { get; set; }
/// <summary>
/// 创建用户
/// </summary>
public string? create_id { get; set; }
/// <summary>
/// 所属组织
/// </summary>
public string? org_id { get; set; }
/// <summary>
/// 单据编号
/// </summary>
public string? bill_code { get; set; }
/// <summary>
/// 发料工位
/// </summary>
public string? workstation { get; set; }
/// <summary>
/// 所属产线
/// </summary>
public string? workline { get; set; }
/// <summary>
/// 流程任务Id
/// </summary>
public string? f_flowtaskid { get; set; }
/// <summary>
/// 流程引擎Id
/// </summary>
public string? f_flowid { get; set; }
}