| | |
| | | using SqlSugar; |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | [SugarTable(nameof(Dt_MaterielInfo), "ç©æä¿¡æ¯")] |
| | | public class Dt_MaterielInfo : BaseEntity |
| | | { |
| | | /// <summary> |
| | | /// ä¸»é® |
| | | /// </summary> |
| | | [ImporterHeader(Name = "主é®")] |
| | | [ExporterHeader(DisplayName = "主é®")] |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "åºå主é®")] |
| | | /// <summary> |
| | | /// åºåä¸»é® |
| | | /// </summary> |
| | | [ImporterHeader(Name = "åºå主é®")] |
| | | [ExporterHeader(DisplayName = "åºå主é®")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "åºå主é®", DefaultValue = "0")] |
| | | public int AreaId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼å· |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç©æç¼å·")] |
| | | [ExporterHeader(DisplayName = "ç©æç¼å·")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "ç©æç¼å·")] |
| | | public string MaterielCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æåç§° |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç©æåç§°")] |
| | | [ExporterHeader(DisplayName = "ç©æåç§°")] |
| | | [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "ç©æåç§°")] |
| | | public string MaterielName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©ææè¿° |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç©ææè¿°")] |
| | | [ExporterHeader(DisplayName = "ç©ææè¿°")] |
| | | [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "ç©ææè¿°")] |
| | | public string MaterielDes { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 容å¨ç±»å |
| | | /// </summary> |
| | | [ImporterHeader(Name = "容å¨ç±»å")] |
| | | [ExporterHeader(DisplayName = "容å¨ç±»å")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "容å¨ç±»å", DefaultValue = "0")] |
| | | public int CotainerType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
è§æ ¼ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å
è£
è§æ ¼")] |
| | | [ExporterHeader(DisplayName = "å
è£
è§æ ¼")] |
| | | [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "å
è£
è§æ ¼")] |
| | | public string Packspes { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æå±æ§ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç©æå±æ§")] |
| | | [ExporterHeader(DisplayName = "ç©æå±æ§")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç©æå±æ§", DefaultValue = "0")] |
| | | public int Attribute { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 计éåä½ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "计éåä½")] |
| | | [ExporterHeader(DisplayName = "计éåä½")] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "计éåä½", DefaultValue = "0")] |
| | | public string Unit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æææ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "æææ")] |
| | | [ExporterHeader(DisplayName = "æææ")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æææ", DefaultValue = "-1")] |
| | | public int Validity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®å
¨åºå |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å®å
¨åºå")] |
| | | [ExporterHeader(DisplayName = "å®å
¨åºå")] |
| | | [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "å®å
¨åºå", DefaultValue = "-1")] |
| | | public decimal SafetyStock { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å
è®¸æ··æ¹ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "æ¯å¦å
许混æ¹")] |
| | | [ExporterHeader(DisplayName = "æ¯å¦å
许混æ¹")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æ¯å¦å
许混æ¹")] |
| | | public bool IsMixBatch { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å
许混æ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "æ¯å¦å
许混æ")] |
| | | [ExporterHeader(DisplayName = "æ¯å¦å
许混æ")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æ¯å¦å
许混æ")] |
| | | public bool IsMixMateriel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "夿³¨")] |
| | | [ExporterHeader(DisplayName = "夿³¨")] |
| | | [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "夿³¨")] |
| | | public string Remark { get; set; } |
| | | } |