Files
tnb.server/ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdInstockH.cs
2023-11-06 19:35:59 +08:00

79 lines
1.6 KiB
C#

using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities;
/// <summary>
/// mes入库申请主表
/// </summary>
[SugarTable("prd_instock_h")]
public partial class PrdInstockH : BaseEntity<string>
{
public PrdInstockH()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 入库单创建日期
/// </summary>
public DateTime bill_date { get; set; } = DateTime.Now;
/// <summary>
/// 单据类型
/// </summary>
public string bill_type { get; set; } = string.Empty;
/// <summary>
/// 入库仓库ID
/// </summary>
public string warehouse_id { get; set; } = string.Empty;
/// <summary>
/// 载具编号
/// </summary>
public string carry_code { get; set; } = string.Empty;
/// <summary>
/// 起始库位编号
/// </summary>
public string location_code { get; set; } = string.Empty;
/// <summary>
/// 工位id
/// </summary>
public string? station_id { get; set; }
/// <summary>
/// 产线id
/// </summary>
public string? workline_id { get; set; }
/// <summary>
/// 车间id
/// </summary>
public string? workshop_id { get; set; }
/// <summary>
/// 检验(0-未检 1-已检)
/// </summary>
public int is_check { get; set; }
/// <summary>
/// 创建用户
/// </summary>
public string? create_id { get; set; }
/// <summary>
/// 所属组织
/// </summary>
public string? org_id { get; set; }
/// <summary>
/// 状态 0 申请入库 1 已入库
/// </summary>
public int? status { get; set; }
}