using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.EquipMgr.Entities; /// /// 库位资料 /// [SugarTable("tool_location")] public partial class ToolLocation : BaseEntity { public ToolLocation() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 库位代码(库位编号唯一) /// public string location_code { get; set; } = string.Empty; /// /// 货架ID /// public string rack_id { get; set; } = string.Empty; /// /// 区域ID /// public string region_id { get; set; } = string.Empty; /// /// 仓库ID /// public string wh_id { get; set; } = string.Empty; /// /// 层数 /// public int layers { get; set; } /// /// 位置序号 /// public int seq { get; set; } /// /// 时间戳 /// public string? timestamp { 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; } }