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