using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Magicodes.ExporterAndImporter.Core; using SqlSugar; using WIDESEA_Core.DB.Models; using WIDESEA_Model.Models.Stock; namespace WIDESEA_Model.View { [SugarTable(nameof(Dt_StockInfos), "库存信息")] public class Dt_StockInfos : BaseEntity { /// /// 主键 /// [ImporterHeader(Name = "主键")] [ExporterHeader(DisplayName = "主键")] [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 托盘编号 /// [ImporterHeader(Name = "托盘编号")] [ExporterHeader(DisplayName = "托盘编号")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "托盘编号")] public string PalletCode { get; set; } /// /// 货位编号 /// [ImporterHeader(Name = "货位编号")] [ExporterHeader(DisplayName = "货位编号")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "货位编号")] public string LocationCode { get; set; } /// /// 库存状态 /// [ImporterHeader(Name = "库存状态")] [ExporterHeader(DisplayName = "库存状态")] [SugarColumn(IsNullable = true, ColumnDescription = "库存状态")] public int StockStatus { get; set; } /// /// 物料类型 /// [ImporterHeader(Name = "物料类型")] [ExporterHeader(DisplayName = "物料类型")] [SugarColumn(IsNullable = true, ColumnDescription = "物料类型")] public int StockType { get; set; } /// /// 物料编号1 /// [ImporterHeader(Name = "物料编号1")] [ExporterHeader(DisplayName = "物料编号1")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料编号1")] public string MaterielCode1 { get; set; } /// /// 物料编号2 /// [ImporterHeader(Name = "物料编号2")] [ExporterHeader(DisplayName = "物料编号2")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料编号2")] public string MaterielCode2 { get; set; } /// /// 物料编号3 /// [ImporterHeader(Name = "物料编号3")] [ExporterHeader(DisplayName = "物料编号3")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料编号3")] public string MaterielCode3 { get; set; } /// /// 物料编号4 /// [ImporterHeader(Name = "物料编号4")] [ExporterHeader(DisplayName = "物料编号4")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料编号4")] public string MaterielCode4 { get; set; } /// /// 物料名称 /// [ImporterHeader(Name = "物料名称")] [ExporterHeader(DisplayName = "物料名称")] [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "物料名称")] public string MaterielName { get; set; } /// /// 备注 /// [ImporterHeader(Name = "备注")] [ExporterHeader(DisplayName = "备注")] [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "备注")] public string Remark { get; set; } /// /// 物料详细id /// [ImporterHeader(Name = "物料详细id")] [ExporterHeader(DisplayName = "物料详细id")] [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "物料详细id")] public string MaterielDetailedid { get; set; } } }