using SqlSugar; 
 | 
using System; 
 | 
using System.Collections.Generic; 
 | 
using System.Linq; 
 | 
using System.Text; 
 | 
using System.Threading.Tasks; 
 | 
using WIDESEA_Core.DB.Models; 
 | 
  
 | 
namespace WIDESEA_Model.Models 
 | 
{ 
 | 
    /// <summary> 
 | 
    /// 托盘类型 
 | 
    /// </summary> 
 | 
    [SugarTable(nameof(Dt_PalletTypeInfo), "托盘类型")] 
 | 
    public class Dt_PalletTypeInfo : BaseEntity 
 | 
    { 
 | 
        /// <summary> 
 | 
        /// 主键 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] 
 | 
        public int Id { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 托盘类型 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "托盘类型")] 
 | 
        public int PalletType { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 托盘号起始字符串 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "托盘号起始字符串")] 
 | 
        public string CodeStartStr { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 托盘类型名称 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "托盘类型名称")] 
 | 
        public string TypeName { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 长度 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "长度")] 
 | 
        public int Length { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 宽度 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "宽度")] 
 | 
        public int Width { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 高度 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "高度")] 
 | 
        public int Height { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 状态 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "状态")] 
 | 
        public int Enbale { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 仓库编号 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "仓库编号")] 
 | 
        public int WarehouseId { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 所属层 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "所属层")] 
 | 
        public string SortNum { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 占用货位数 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "占用货位数")] 
 | 
        public int LocaitonCount { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 大托盘是否放奇数列 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "大托盘是否放奇数列")] 
 | 
        public bool IsOdd {  get; set; } 
 | 
    } 
 | 
} 
 |