using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; using Tnb.WarehouseMgr.Entities.Entity.Constraints; namespace Tnb.WarehouseMgr.Entities; /// /// 入库申请主表 /// [SugarTable("wms_instock_h")] public partial class WmsInstockH : BaseEntity, InOutCheckStatusUpdateEntity { public WmsInstockH() { id = SnowflakeIdHelper.NextId(); } /// /// 租户ID /// public string? tenant_id { get; set; } /// /// 所属组织ID /// public string? org_id { get; set; } /// /// 入库单号 /// 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; } /// /// 供应商ID /// public string? supplier_id { get; set; } /// /// 供应商代码 /// public string? supplier_code { get; set; } /// /// 供应商名称 /// public string? supplier_name { get; set; } /// /// 生成类型 /// public string generate_type { get; set; } = string.Empty; /// /// 同步状态 /// public string sync_status { get; set; } = string.Empty; /// /// 打印状态 /// public string print_status { get; set; } = string.Empty; /// /// 备注 /// public string? remark { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } /// /// 时间戳 /// public DateTime? 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; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 载具ID /// public string? carry_id { get; set; } /// /// 载具编号 /// public string? carry_code { get; set; } /// /// 库位ID /// public string? location_id { get; set; } /// /// 来源单据ID /// public string? source_id { get; set; } /// /// 来源单据代码 /// public string? source_code { get; set; } /// /// 源单单据类型 /// public int? source_type { get; set; } /// /// 来源单据行号 /// public int? source_line { get; set; } /// /// 来源单据明细ID /// public string? source_detail_id { get; set; } /// /// 生产工单号 /// public string? mo_code { get; set; } /// /// 生产工单行号 /// public int? mo_line { get; set; } /// /// 生产工单BOM明细Id /// public string? mo_bom_detail_id { get; set; } /// /// 不含税单价 /// public decimal? price { get; set; } /// /// 含税单价 /// public decimal? tax_price { get; set; } /// /// 不含税金额 /// public decimal? amount { get; set; } /// /// 含税金额 /// public decimal? all_amount { get; set; } /// /// 未检验:0,已检验:1 /// public int? is_check { get; set; } /// /// 流程任务Id /// public string? f_flowtaskid { get; set; } /// /// 流程引擎Id /// public string? f_flowid { get; set; } /// /// 采购单号 /// public string purchase_code { get; set; } /// /// 检验结论 /// public int? check_conclusion { get; set; } /// /// 审核状态 /// public int? audit_status { get; set; } }