| | |
| | | using SqlSugar; |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | [SugarTable("Dt_DeliveryOrderDetail_Hty", "åºåºæç»åå²è¡¨")] |
| | | public class Dt_DeliveryOrderDetail_Hty : BaseEntity |
| | | public class Dt_DeliveryOrderDetail_Hty : Dt_DeliveryOrderDetail, IBaseHistoryEntity |
| | | { |
| | | [SugarColumn(ColumnName = "HistoryId", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "åå²è®°å½ä¸»é®")] |
| | | public int HistoryId { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Id", ColumnDescription = "å主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "DeliveryOrderId", IsNullable = true, ColumnDescription = "å
³èå
¥åºåID")] |
| | | public int DeliveryOrderId { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Reservoirarea", IsNullable = true, Length = 50, ColumnDescription = "åºåº")] |
| | | public string Reservoirarea { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Goods_no", IsNullable = true, Length = 50, ColumnDescription = "è¯åç¼ç ")] |
| | | public string Goods_no { get; set; } |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Order_qty", IsNullable = true, ColumnDescription = "åºåºéè´§æ¶ä¸ºè´æ°")] |
| | | public decimal Order_qty { get; set; } |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Order_Outqty", IsNullable = true, ColumnDescription = "åºåºå®ææ°é")] |
| | | public decimal Order_Outqty { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Batch_num", IsNullable = true, Length = 50, ColumnDescription = "æ¹å·")] |
| | | public string Batch_num { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Exp_date", IsNullable = true, Length = 8, ColumnDescription = "æ ¡æ(yyyymmmdd)")] |
| | | public string Exp_date { get; set; } |
| | | /// <summary> |
| | | /// 订å详æ
ç¶æ æ°å»ºï¼å¼å§ï¼å·²å®æ |
| | | /// åºæ¿å·+ç¶æ+ï¼æ°å»ºï¼ï¼å¤ææ¯å¦ä¸åç»wcs |
| | | /// 详æ
å¼å§ï¼å¼å§ï¼ |
| | | /// 详æ
宿ï¼å·²å®æï¼ç§»å
¥åå²è¡¨å é¤ä¿¡æ¯ï¼ |
| | | /// åè¡¨ä¸»é® |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OotDetailStatus", IsNullable = true, Length = 50, ColumnDescription = "ç¶æ")] |
| | | public string OotDetailStatus { get; set; } |
| | | [ImporterHeader(Name = "å表主é®")] |
| | | [ExporterHeader(DisplayName = "å表主é®")] |
| | | [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "å表主é®")] |
| | | public int SourceId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æä½ç±»å |
| | | /// </summary> |
| | | [ImporterHeader(Name = "æä½ç±»å")] |
| | | [ExporterHeader(DisplayName = "æä½ç±»å")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æä½ç±»å")] |
| | | public string OperateType { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Status", IsNullable = true, ColumnDescription = "䏿¸¸ç¶æï¼åæ¥ç¶æï¼0æªåæ¥ï¼1已忥ï¼åæ¥åç»wcsï¼")] |
| | | public int Status { get; set; } |
| | | |
| | | // 导èªå±æ§ï¼ä¸ä¸ªæç»å¯¹åºä¸ä¸ªè¯åä¿¡æ¯ |
| | | // ä¿®æ£å¯¼èªå±æ§ï¼ä½¿ç¨ Goods_no å
³è MaterielCode |
| | | [Navigate(NavigateType.OneToOne, nameof(Goods_no), nameof(Dt_MaterielInfo.MaterielCode))] |
| | | public Dt_MaterielInfo MedicineGoods { get; set; } |
| | | |
| | | //æ¯å¦éè¦ä¸é¢çåæ®µ |
| | | //skuåç§° productName |
| | | //skuè§æ ¼ ProductSpecifications |
| | | //æ°é quantity |
| | | //çäºæç» StocktakingDetails |
| | | /// <summary> |
| | | /// ç§»å
¥å岿¶é´ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç§»å
¥å岿¶é´")] |
| | | [ExporterHeader(DisplayName = "ç§»å
¥å岿¶é´")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç§»å
¥å岿¶é´")] |
| | | public DateTime InsertTime { get; set; } |
| | | |
| | | } |
| | | } |