| | |
| | | using SqlSugar; |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | { |
| | | |
| | | [SugarTable("Dt_CabinOrder_Hty", "å
¥åºå表åå²è¡¨")] |
| | | public class Dt_CabinOrder_Hty : BaseEntity |
| | | public class Dt_CabinOrder_Hty : Dt_CabinOrder,IBaseHistoryEntity |
| | | { |
| | | |
| | | [SugarColumn(ColumnName = "HistoryId", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "åå²è®°å½ä¸»é®")] |
| | | public int HistoryId { get; set; } |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Id", ColumnDescription = "å主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "å
¥åºåå·")] |
| | | public string Order_no { get; set; } |
| | | |
| | | |
| | | [SugarColumn(IsNullable = true, Length = 3, ColumnDescription = "å
¥åºç±»åï¼1æ£å¸¸/3éè´§")] |
| | | public string Order_type { get; set; } |
| | | |
| | | |
| | | |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "ä¾åºå代ç ")] |
| | | public string Supplier_no { get; set; } |
| | | |
| | | |
| | | [SugarColumn(IsNullable = true, Length = 100, ColumnDescription = "ä¾åºååç§°")] |
| | | public string Supplier_name { get; set; } |
| | | |
| | | |
| | | //åºæ¿å· |
| | | [SugarColumn(ColumnName = "Warehouse_no", IsNullable = true, ColumnDescription = "åºæ¿å·001")] |
| | | public string Warehouse_no { get; set; } |
| | | |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "å
¥åºè®°è´¦æ¶é´")] |
| | | public DateTime? Account_tiem { get; set; } |
| | | [Navigate(NavigateType.OneToMany, nameof(Dt_CabinOrderDetail_Hty.OrderId))] |
| | | public new List<Dt_CabinOrderDetail_Hty> Details { get; set; } |
| | | /// <summary> |
| | | /// åè¡¨ä¸»é® |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å表主é®")] |
| | | [ExporterHeader(DisplayName = "å表主é®")] |
| | | [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "å表主é®")] |
| | | public int SourceId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 䏿¸¸ç¶æ æ°å»ºï¼å¼å§ï¼å·²å®æ |
| | | /// 䏿¸¸ä¸åï¼æ°å»ºï¼ |
| | | /// 详æ
å¼å§ï¼å¼å§ï¼ |
| | | /// 详æ
å
¨é¨å®æï¼å·²å®æï¼ä¸ä¼ ç»ä¸æ¸¸ç³»ç»ï¼ç§»å
¥åå²è¡¨å é¤ä¿¡æ¯ï¼ |
| | | /// æä½ç±»å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OdrderStatus", IsNullable = true, Length = 50, ColumnDescription = "è¡¨å¤´ç¶æ")] |
| | | public string OdrderStatus { get; set; } |
| | | [ImporterHeader(Name = "æä½ç±»å")] |
| | | [ExporterHeader(DisplayName = "æä½ç±»å")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æä½ç±»å")] |
| | | public string OperateType { get; set; } |
| | | |
| | | //ä¸é¢æ¯å¦éè¦è¿äºåæ®µï¼ |
| | | //ä¼å
级 priority |
| | | //[SugarColumn(ColumnName ="Priority",IsNullable =true,ColumnDescription ="ä¼å
级")] |
| | | //public int Priority { get; set; } |
| | | |
| | | |
| | | |
| | | //æ¯å¦åæ¶ Iscancel |
| | | //[SugarColumn(ColumnName = "Iscancel", IsNullable = true, ColumnDescription = "æ¯å¦åæ¶(1æ¯0å¦)")] |
| | | //public int Iscancel { get; set; } |
| | | |
| | | [Navigate(NavigateType.OneToMany, nameof(Dt_CabinOrderDetail.OrderId))] |
| | | public List<Dt_CabinOrderDetail> Details { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ç§»å
¥å岿¶é´ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç§»å
¥å岿¶é´")] |
| | | [ExporterHeader(DisplayName = "ç§»å
¥å岿¶é´")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç§»å
¥å岿¶é´")] |
| | | public DateTime InsertTime { get; set; } |
| | | } |
| | | } |