| | |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | |
| | | public int StockId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼å· |
| | | /// ç©æç¼ç ç»å®ä»£ç |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "ç©æç¼å·")] |
| | | public string MaterielCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æåç§° |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "ç©æåç§°")] |
| | | public string MaterielName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åæ®ç¼å· |
| | | /// ä»åº |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "åæ®ç¼å·")] |
| | | [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "ä»åº")] |
| | | public string Warehouse { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åæ®ç¼å· / éé |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "åæ®ç¼å·")] |
| | | public string OrderNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¹æ¬¡å· |
| | | /// åä½ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "æ¹æ¬¡å·")] |
| | | public string BatchNo { get; set; } |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "åä½")] |
| | | public string Unit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºåå· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "åºåå·")] |
| | | public string SerialNumber { get; set; } |
| | | /// è§æ ¼ |
| | | /// </summary |
| | | [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "è§æ ¼")] |
| | | public string Specs { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºåæ°é |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "åºåæ°é")] |
| | | public decimal StockQuantity { get; set; } |
| | | [SugarColumn(IsNullable = false, DecimalDigits = 4, ColumnDescription = "éé")] |
| | | public decimal Weight { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºåºæ°é |
| | | /// æ°é |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "åºåºæ°é", DefaultValue = "0")] |
| | | public decimal OutboundQuantity { get; set; } |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 4, ColumnDescription = "æ°é", DefaultValue = "0")] |
| | | public decimal Quantity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºåæç»ç¶æ |
| | | /// ç»çç¶æ çµè¯ç¶æ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "åºåæç»ç¶æ")] |
| | | [Required] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç»çç¶æ")] |
| | | public int Status { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¾å· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "å¾å·")] |
| | | public string DrawingNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æ¥æ")] |
| | | |
| | | public string Date { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "夿³¨")] |