using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace wms.sqlsugar.model.sx
{
    [Tenant("sx")]
    [SugarTable("base_ware_location", "货位表")]
    public class sxBaseWareLocation : BaseModel
    {
        /// 
        /// 货位编码
        /// 
        [SugarColumn(ColumnName = "code", ColumnDataType = "nvarchar", Length = 50)]
        public string Code { get; set; }
        /// 
        /// 货位名称
        /// 
        [SugarColumn(ColumnName = "name", ColumnDataType = "nvarchar", Length = 100)]
        public string Name { get; set; }
        /// 
        /// 仓库id
        /// 
        [SugarColumn(ColumnName = "ware_id")]
        public long WareId { get; set; }
        /// 
        /// 仓库编码
        /// 
        [SugarColumn(ColumnName = "ware_code", ColumnDataType = "nvarchar", Length = 50)]
        public string WareCode { get; set; }
        /// 
        /// 库区id
        /// 
        [SugarColumn(ColumnName = "zone_id")]
        public long ZoneId { get; set; }
        /// 
        /// 库区编码
        /// 
        [SugarColumn(ColumnName = "zone_code", ColumnDataType = "nvarchar", Length = 50)]
        public string ZoneCode { get; set; }
        /// 
        /// 货位类型
        /// 
        [SugarColumn(ColumnName = "location_type")]
        public int LocationType { get; set; }
        /// 
        /// 货位锁
        /// 
        [SugarColumn(ColumnName = "location_lock")]
        public int LocationLock { get; set; }
        /// 
        /// 货位状态
        /// 
        [SugarColumn(ColumnName = "location_state")]
        public int LocationState { get; set; }
        /// 
        /// 排序
        /// 
        [SugarColumn(ColumnName = "sort")]
        public int Sort { get; set; }
        /// 
        /// 巷道
        /// 
        [SugarColumn(ColumnName = "tunnel")]
        public int Tunnel { get; set; }
        /// 
        /// 行
        /// 
        [SugarColumn(ColumnName = "row")]
        public int Row { get; set; }
        /// 
        /// 列
        /// 
        [SugarColumn(ColumnName = "col")]
        public int Col { get; set; }
        /// 
        /// 层
        /// 
        [SugarColumn(ColumnName = "layer")]
        public int Layer { get; set; }
        /// 
        /// 深度
        /// 
        [SugarColumn(ColumnName = "depth")]
        public int Depth { get; set; }
        /// 
        /// 货位大小
        /// 
        [SugarColumn(ColumnName = "size")]
        public int Size { get; set; }
        /// 
        /// 货架
        /// 
        [SugarColumn(ColumnName = "shelf", ColumnDataType = "nvarchar", Length = 50)]
        public string Shelf { get; set; }
        /// 
        /// 容器ID
        /// 
        [SugarColumn(ColumnName = "cont_grp_id")]
        public long ContGrpID { get; set; }
        /// 
        /// 容器编码
        /// 
        [SugarColumn(ColumnName = "cont_grp_barcode", ColumnDataType = "nvarchar", Length = 50)]
        public string ContGrpBarCode { get; set; }
        /// 
        /// 是否空容器(1空容器,2 有料)
        /// 
        [SugarColumn(ColumnName = "is_empty_container")]
        public int IsEmptyContainer { get; set; }
        /// 
        /// 行停用(0正常 1停用)
        /// 
        [SugarColumn(ColumnName = "row_stop")]
        public int RowStop { get; set; }
        /// 
        /// 行删除(0正常 1删除)
        /// 
        [SugarColumn(ColumnName = "row_del")]
        public int RowDel { get; set; }
    }
}