using SqlSugar;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models;
[SugarTable(nameof(DtLocationInfo), "货位信息")]
public class DtLocationInfo : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 区域主键
///
[SugarColumn(IsNullable = false, ColumnDescription = "区域主键")]
public int AreaId { get; set; }
///
/// 货位编号
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "货位编号")]
public string LocationCode { get; set; }
///
/// 货位名称
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "货位名称")]
public string LocationName { get; set; }
///
/// 巷道编号
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "巷道编号")]
public string RoadwayNo { get; set; }
///
/// 货位行
///
[SugarColumn(IsNullable = false, ColumnDescription = "货位行")]
public int Row { get; set; }
///
/// 货位列
///
[SugarColumn(IsNullable = false, ColumnDescription = "货位列")]
public int Column { get; set; }
///
/// 货位层
///
[SugarColumn(IsNullable = false, ColumnDescription = "货位层")]
public int Layer { get; set; }
///
/// 货位深度
///
[SugarColumn(IsNullable = false, ColumnDescription = "货位深度")]
public int Depth { get; set; }
///
/// 货位类型 (1-普通货架库位 2-检测柜库位)
///
[SugarColumn(IsNullable = false, ColumnDescription = "货位类型")]
public int LocationType { get; set; }
///
/// 货位状态
///
[SugarColumn(IsNullable = false, ColumnDescription = "货位状态")]
public int LocationStatus { get; set; }
///
/// 禁用状态
///
[SugarColumn(IsNullable = false, ColumnDescription = "禁用状态")]
public int EnalbeStatus { get; set; }
///
/// 备注 (检测柜允许/不允许入)
///
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")]
public string Remark { get; set; }
}