入库申请同步

This commit is contained in:
2023-07-12 10:19:15 +08:00
parent f07b7235d7
commit 67c481f97c
4 changed files with 190 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities;
/// <summary>
/// mes申请入库子表
/// </summary>
[SugarTable("prd_instock_d")]
public partial class PrdInstockD : BaseEntity<string>
{
public PrdInstockD()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 入库申请主表id
/// </summary>
public string instock_id { get; set; } = string.Empty;
/// <summary>
/// 物料id
/// </summary>
public string material_id { get; set; } = string.Empty;
/// <summary>
/// 物料编号
/// </summary>
public string material_code { get; set; } = string.Empty;
/// <summary>
/// 单位
/// </summary>
public string unit_id { get; set; } = string.Empty;
/// <summary>
/// 数量
/// </summary>
public string quantity { get; set; } = string.Empty;
/// <summary>
/// 批次
/// </summary>
public string code_batch { get; set; } = string.Empty;
/// <summary>
/// 条码编号
/// </summary>
public string barcode { get; set; } = string.Empty;
}