| | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | [SugarTable(nameof(DtBoxingInfo_Hty), "ç»çåå²ä¿¡æ¯")] |
| | | public class DtBoxingInfo_Hty : DtBoxingInfo,IBaseHistoryEntity |
| | | public class DtBoxingInfo_Hty :BaseEntity |
| | | { |
| | | /// <summary> |
| | | /// åè¡¨ä¸»é® |
| | | /// ä¸»é® |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å表主é®")] |
| | | [ExporterHeader(DisplayName = "å表主é®")] |
| | | [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "å表主é®")] |
| | | public int SourceId { get; set; } |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æä½ç±»å |
| | | /// æçç¼ç |
| | | /// </summary> |
| | | [ImporterHeader(Name = "æä½ç±»å")] |
| | | [ExporterHeader(DisplayName = "æä½ç±»å")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æä½ç±»å")] |
| | | public string OperateType { get; set; } |
| | | [Required] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æçç¼å·")] |
| | | public string PalletCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç§»å
¥å岿¶é´ |
| | | /// è´§ä½ç¼ç |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç§»å
¥å岿¶é´")] |
| | | [ExporterHeader(DisplayName = "ç§»å
¥å岿¶é´")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç§»å
¥å岿¶é´")] |
| | | public DateTime InsertTime { get; set; } |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "è´§ä½ç¼ç ")] |
| | | public string LocationCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ»¡ç |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "æ¯å¦æ»¡ç")] |
| | | public bool IsFull { get; set; } = true; |
| | | |
| | | /// <summary> |
| | | /// ç¶æ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "ç¶æ")] |
| | | public int StockStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "夿³¨")] |
| | | public string Remark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºåæç» |
| | | /// </summary> |
| | | [MinItemsCount(1)] // æ£æµéåå
ç´ æå°1个 |
| | | [SugarColumn(ColumnName = "BoxingInfoDetails")] |
| | | [Navigate(NavigateType.OneToMany, nameof(DtBoxingInfoDetail_Hty.BoxingInfoId))] |
| | | public List<DtBoxingInfoDetail_Hty>? BoxingInfoDetails { get; set; } |
| | | } |
| | | } |