using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.WarehouseMgr.Entities; /// /// 库存报表 /// [SugarTable("wms_stock_report_h")] public partial class WmsStockReportH : BaseEntity { public WmsStockReportH() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 物料ID /// public string? material_id { get; set; } /// /// 物料编号 /// public string? material_code { get; set; } /// /// 规格型号 /// public string? material_specification { get; set; } /// /// 箱号 /// public string? container_no { get; set; } /// /// 供应商编码 /// public string? supplier_code { get; set; } /// /// 供应商名称 /// public string? supplier_name { get; set; } /// /// 仓库ID /// public string? warehouse_id { get; set; } /// /// 仓库编码 /// public string? warehouse_code { get; set; } /// /// 仓库名称 /// public string? warehouse_name { get; set; } /// /// 单位ID /// public string unit_id { get; set; } = string.Empty; /// /// 单位代码 /// public string unit_code { get; set; } = string.Empty; /// /// 批次 /// public string code_batch { get; set; } = string.Empty; /// /// 质检结果 /// public string qc_res { get; set; } = string.Empty; /// /// 辅助属性(供应商) /// public string? auxprop_gys { get; set; } = string.Empty; /// /// 辅助属性(小批号) /// public string? auxprop_xph { get; set; } = string.Empty; ///// ///// 现有库存 ///// //public decimal? existing_stock_qty { get; set; } ///// ///// 最大库存 ///// //public int? max_stock { get; set; } ///// ///// 安全库存 ///// //public int? safe_stock { get; set; } ///// ///// 最小库存 ///// //public int? min_stock { get; set; } ///// ///// 库存有效期(天) ///// //public int? storage_valid_day { get; set; } ///// ///// 预警提前期(天) ///// //public int? early_warn_day { get; set; } ///// ///// 过期预警数量 ///// //public decimal? expired_warning_qty { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 创建时间 /// public DateTime? create_time { get; set; } ///// ///// 修改用户 ///// //public string? modify_id { get; set; } ///// ///// 修改时间 ///// //public DateTime? modify_time { get; set; } ///// ///// 扩展 ///// //public string? extras { get; set; } ///// ///// 时间戳 ///// //public DateTime? timestamp { get; set; } ///// ///// 流程任务Id ///// //public string? f_flowtaskid { get; set; } ///// ///// 流程引擎Id ///// //public string? f_flowid { get; set; } }