using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; using Tnb.WarehouseMgr.Entities.Entity.Constraints; namespace Tnb.WarehouseMgr.Entities; /// /// 出库申请主表 /// [SugarTable("wms_outstock_h")] public partial class WmsOutstockH : BaseEntity, InOutCheckStatusUpdateEntity { public WmsOutstockH() { id = SnowflakeIdHelper.NextId(); } /// /// 租户ID /// public string tenant_id { get; set; } = string.Empty; /// /// 所属组织ID /// public string org_id { get; set; } = string.Empty; /// /// 出库单号 /// public string bill_code { get; set; } = string.Empty; /// /// 出库单创建日期 /// public DateTime bill_date { get; set; } = DateTime.Now; /// /// 单据类型 /// public string bill_type { get; set; } = string.Empty; /// /// 单据状态 /// public string status { get; set; } = string.Empty; /// /// 业务类型 /// public string biz_type { get; set; } = string.Empty; /// /// 发料仓库ID /// public string warehouse_id { get; set; } = string.Empty; /// /// 库位ID /// public string location_id { get; set; } = string.Empty; /// /// 生成类型 /// public string generate_type { get; set; } = string.Empty; /// /// 同步状态 /// public string sync_status { get; set; } = string.Empty; /// /// 出库部门ID /// public string? dept_id { get; set; } /// /// 出库原因 /// public string? reason { get; set; } /// /// 供应商ID /// public string? supplier_id { get; set; } /// /// 供应商代码 /// public string? supplier_code { get; set; } /// /// 供应商名称 /// public string? supplier_name { get; set; } /// /// 客户id /// public string? customer_id { get; set; } /// /// 客户编号 /// public string? customer_code { get; set; } /// /// 客户名称 /// public string? customer_name { get; set; } /// /// 使用部门ID /// public string? use_dept_id { get; set; } /// /// 来源单据ID /// public string source_id { get; set; } /// /// 来源单据号 /// public string source_code { get; set; } /// /// 备注 /// public string? remark { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } /// /// 时间戳 /// public string? time_stamp { get; set; } /// /// 创建用户 /// public string create_id { get; set; } = string.Empty; /// /// 创建时间 /// public DateTime create_time { get; set; } = DateTime.Now; /// /// 修改用户 /// public string modify_id { get; set; } = string.Empty; /// /// 修改时间 /// public DateTime modify_time { get; set; } = DateTime.Now; /// /// 工位Id /// public string station_id { get; set; } /// /// 工位编码 /// public string station_code { get; set; } /// /// 载具Id /// public string carry_id { get; set; } /// /// 检验结论 /// public int? check_conclusion { get; set; } /// /// 是否检验 /// public int? is_check { get; set; } }