using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities; /// /// 库位资料 /// [SugarTable("bas_location")] public partial class BasLocation : BaseEntity { public BasLocation() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 库位代码(库位编号唯一) /// public string location_code { get; set; } = string.Empty; /// /// 货架ID /// public string? rack_id { get; set; } /// /// 区域ID /// public string? region_id { get; set; } /// /// 仓库ID /// public string wh_id { get; set; } = string.Empty; /// /// 是否使用 /// //[SugarColumn(ColumnDataType = "varchar(32)", SqlParameterDbType = typeof(CommonPropertyConvert))] public string is_use { get; set; } /// /// 是否最小 /// public int is_mix { get; set; } /// /// 层数 /// public int layers { get; set; } /// /// 位置序号 /// public int loc_line { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 创建时间 /// public DateTime? create_time { get; set; } /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 载具规格分类Id /// public string carrystd_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } /// /// 是否锁定 /// public int is_lock { get; set; } /// /// 库位类型 /// public string is_type { get; set; } = string.Empty; /// /// 是否签收 /// public int is_sign { get; set; } /// /// 时间戳 /// public int? timestamp { get; set; } /// /// 楼层 /// public int floor { get; set; } /// /// 库位名称 /// public string? location_name { get; set; } /// /// 列 /// public int loc_column { get; set; } /// /// 是否超配(1:不超配 2:超配) /// public string is_overmatch { get; set; } = "1"; /// /// 任务数 /// public int task_nums { get; set; } /// /// 通道 /// public string passage { get; set; } /// /// 载具数量 /// public int carry_count { get; set; } }