using SqlSugar;
using System;
using wms.dto;
namespace wms.sqlsugar.model.sx
{
    /// 
    ///  货位表
    /// 
    [Tenant("sx")]
    [SugarTable("Base_WareCell")]
    public partial class BaseWarecell : BaseModel
    {
        /// 
        ///  仓库ID
        /// 
        [SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
        public long WarehouseId { get; set; }
        /// 
        /// 仓库编码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
        public string WarehouseCode { get; set; }
        /// 
        ///  库区ID
        /// 
        [SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
        public long WareAreaId { get; set; }
        /// 
        ///  是否停用 0正常 1停用
        /// 
        [SugarColumn(ColumnDataType = "int", IsNullable = false)]
        public int IsStop { get; set; }
        /// 
        ///  货位编码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
        public string Code { get; set; }
        /// 
        ///  货位名称
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = false)]
        public string Name { get; set; }
        /// 
        ///  货位状态
        /// 
        [SugarColumn(IsNullable = false)]
        public LocationState StateNum { get; set; }
        /// 
        ///  货位类型
        /// 
        [SugarColumn(IsNullable = false)]
        public LocationType TypeNum { get; set; }
        /// 
        ///  货位大小
        /// 
        [SugarColumn(ColumnDataType = "int", IsNullable = false)]
        public long Size { get; set; }
        /// 
        ///  行
        /// 
        [SugarColumn(ColumnDataType = "int", IsNullable = false)]
        public int Row { get; set; }
        /// 
        ///  列
        /// 
        [SugarColumn(ColumnDataType = "int", IsNullable = false)]
        public int Col { get; set; }
        /// 
        ///  层
        /// 
        [SugarColumn(ColumnDataType = "int", IsNullable = false)]
        public int Layer { get; set; }
        /// 
        ///  深度
        /// 
        [SugarColumn(ColumnDataType = "int", IsNullable = false)]
        public int Depth { get; set; }
        /// 
        ///  巷道
        /// 
        [SugarColumn(ColumnDataType = "int", IsNullable = false)]
        public int Tunnel { get; set; }
        /// 
        ///  堆垛机
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
        public string SCRel { get; set; }
        /// 
        ///  容器ID
        /// 
        [SugarColumn(ColumnDataType = "bigint", IsNullable = true)]
        public long? ContGrpId { get; set; }
        /// 
        ///  容器编码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string ContGrpBarCode { get; set; }
        /// 
        ///  货架
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string Shelf { get; set; }
        /// 
        ///  楼层
        /// 
        [SugarColumn(ColumnDataType = "int", IsNullable = false)]
        public int Floor { get; set; }
    }
}