| | |
| | | using System; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.DB.Models; |
| | | |
| | | namespace WIDESEA_Model.Models.Allocate |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | public class Dt_AllocateOrderDetail |
| | | /// <summary> |
| | | /// è°æ¨åæç» |
| | | /// </summary> |
| | | [SugarTable(nameof(Dt_AllocateOrderDetail), "è°æ¨åæç»")] |
| | | public class Dt_AllocateOrderDetail : BaseEntity |
| | | { |
| | | /// <summary> |
| | | /// 主é®IDï¼èªå¢ï¼ |
| | | /// </summary> |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
³è订åIDï¼å¯¹åºDt_AllocateOrder.Idï¼ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "å
³è订åID")] |
| | | public int OrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼ç |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "ç©æç¼ç ")] |
| | | public string MaterielCode { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¹æ¬¡å· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æ¹æ¬¡å·")] |
| | | public string BatchNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è®¢åæ°é |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "è®¢åæ°é")] |
| | | public decimal OrderQuantity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¶è´§æ°é |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æ¶è´§æ°é")] |
| | | public decimal ReceiptQuantity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¶
é¢å
¥åºæ°é |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "è¶
é¢å
¥åºæ°é")] |
| | | public decimal OverInQuantity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æç»ç¶æ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æç»ç¶æ")] |
| | | public int OrderDetailStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åä½ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "åä½")] |
| | | public string Unit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¡å· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "è¡å·")] |
| | | public string LineNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»åºç¼ç |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "ä»åºç¼ç ")] |
| | | public string WarehouseCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¡å½¢ç |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æ¡å½¢ç ")] |
| | | public string Barcode { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¾åºåç¼å· |
| | | /// é»è®¤å¼: |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "supplyCode", ColumnDescription = "ä¾åºåç¼å·")] |
| | | public string? SupplyCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¡å½¢ç æ°é |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æ¡å½¢ç æ°é")] |
| | | public decimal? BarcodeQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¡å½¢ç åä½ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æ¡å½¢ç åä½")] |
| | | public string BarcodeUnit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 255, ColumnDescription = "夿³¨")] |
| | | public string Remark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åä¼ MES |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "åä¼ MES")] |
| | | public int ReturnToMESStatus { get; set; } = 0; |
| | | } |
| | | } |