using Magicodes.ExporterAndImporter.Core; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.DB.Models; namespace WIDESEAWCS_Model.Models { /// /// 货位信息 /// [SugarTable(nameof(Dt_LocationInfo), "货位信息")] public class Dt_LocationInfo : BaseEntity { /// /// 主键 /// [ImporterHeader(Name = "主键")] [ExporterHeader(DisplayName = "主键")] [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 库区编号 /// [ImporterHeader(IsIgnore = true)] [ExporterHeader(IsIgnore = true)] [SugarColumn(IsNullable = false, ColumnDescription = "库区编号")] public int WarehouseId { get; set; } /// /// 料箱编号 /// [ImporterHeader(Name = "料箱编号")] [ExporterHeader(DisplayName = "料箱编号")] [SugarColumn(IsNullable = false, ColumnDescription = "料箱编号")] public string PalletCode { get; set; } /// /// 货位编号 /// [ImporterHeader(Name = "货位编号")] [ExporterHeader(DisplayName = "货位编号")] [SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "货位编号")] public string LocationCode { get; set; } /// /// 货位名称 /// [ImporterHeader(Name = "货位名称")] [ExporterHeader(DisplayName = "货位名称")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "货位名称")] public string LocationName { get; set; } /// /// 巷道编号 /// [ImporterHeader(Name = "巷道编号")] [ExporterHeader(DisplayName = "巷道编号")] [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "巷道编号")] public string RoadwayNo { get; set; } /// /// 货位行 /// [ImporterHeader(Name = "货位行")] [ExporterHeader(DisplayName = "货位行")] [SugarColumn(IsNullable = true, ColumnDescription = "货位行")] public int Row { get; set; } /// /// 货位列 /// [ImporterHeader(Name = "货位列")] [ExporterHeader(DisplayName = "货位列")] [SugarColumn(IsNullable = true, ColumnDescription = "货位列")] public int Columns { get; set; } /// /// 货位层 /// [ImporterHeader(Name = "货位层")] [ExporterHeader(DisplayName = "货位层")] [SugarColumn(IsNullable = true, ColumnDescription = "货位层")] public int Layer { get; set; } /// /// AGV取货点 /// [ImporterHeader(Name = "AGV取货点")] [ExporterHeader(DisplayName = "AGV取货点")] [SugarColumn(IsNullable = true, ColumnDescription = "AGV取货点")] public string AgvPoint { get; set; } /// /// 货位状态 /// [ImporterHeader(Name = "货位状态")] [ExporterHeader(DisplayName = "货位状态")] [SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "货位状态")] public int LocationStatus { get; set; } /// /// 禁用状态 /// [ImporterHeader(Name = "禁用状态")] [ExporterHeader(DisplayName = "禁用状态")] [SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "禁用状态")] public int EnableStatus { get; set; } /// /// 备注 /// [ImporterHeader(Name = "备注")] [ExporterHeader(DisplayName = "备注")] [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")] public string Remark { get; set; } } }