| | |
| | | using SqlSugar; |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using Org.BouncyCastle.Crypto; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | [SugarTable(nameof(Dt_StockInfoDetail), "åºåä¿¡æ¯æç»")] |
| | | public class Dt_StockInfoDetail : BaseEntity |
| | | { |
| | | [ExporterHeader(DisplayName = "主é®", IsIgnore = true)] |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "åºåä¿¡æ¯ä¸»é®", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "åºåä¿¡æ¯ä¸»é®")] |
| | | public int StockId { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "ç©æç¼å·")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "ç©æç¼å·")] |
| | | public string MaterielCode { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "ç©æåç§°")] |
| | | [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "ç©æåç§°")] |
| | | public string MaterielName { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "åæ®ç¼å·")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "åæ®ç¼å·")] |
| | | public string OrderNo { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "æ¹æ¬¡å·")] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "æ¹æ¬¡å·")] |
| | | public string BatchNo { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "åºåå·")] |
| | | [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "åºåå·")] |
| | | public string SerialNumber { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "ç©ææ¹æ¬¡è¯¦æ
")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "ç©ææ¹æ¬¡è¯¦æ
")] |
| | | public string BatchNoName { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "åºåæ°é")] |
| | | [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "åºåæ°é")] |
| | | public decimal StockQuantity { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "åºåºæ°é", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "åºåºæ°é", DefaultValue = "0")] |
| | | public decimal OutboundQuantity { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "åºåæç»ç¶æ", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "åºåæç»ç¶æ")] |
| | | public int Status { get; set; } |
| | | |
| | | [ExporterHeader(DisplayName = "夿³¨")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "夿³¨")] |
| | | public string Remark { get; set; } |
| | | |
| | | |
| | | |
| | | [ExporterHeader(IsIgnore =true)] |
| | | [Navigate(NavigateType.OneToOne, nameof(Dt_StockQuantityChangeRecord.StockDetailId), nameof(Id))] |
| | | public Dt_StockQuantityChangeRecord StockQuantityChangeRecord { get; set; } |
| | | } |