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; }
///
/// 仓库ID
///
public string? warehouse_id { get; set; }
///
/// 现有库存
///
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; }
}