| ¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.Attributes; |
| | | using WIDESEA_Core.DB.Models; |
| | | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | /// <summary> |
| | | /// ERPäºæéè´åæç» |
| | | /// </summary> |
| | | [SugarTable(nameof(Dt_PurchaseOrderDetail), "ERPäºæéè´åæç»"), ModelValidate] |
| | | public class Dt_PurchaseOrderDetail : BaseEntity |
| | | { |
| | | /// <summary> |
| | | /// ä¸»é® |
| | | /// </summary> |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¤´è¡¨ä¸»é® |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "头表主é®")] |
| | | public int PurchaseOrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 䏿¸¸æç»Id |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "䏿¸¸æç»Id")] |
| | | public int DetailId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©ææ¡ç |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "ç©ææ¡ç ")] |
| | | public string BarCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼å· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "ç©æç¼å·")] |
| | | public string MaterialCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©ææ¹æ¬¡ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "ç©ææ¹æ¬¡")] |
| | | public string MaterialLot { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ°é |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æ°é")] |
| | | public decimal PurchaseDetailQuantity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¹
宽 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "å¹
宽")] |
| | | public decimal PurchaseDetailWide { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å·å¾ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "å·å¾")] |
| | | public decimal PurchaseDetailThickness { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éé |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "éé")] |
| | | public decimal PurchaseDetailWeight { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æè§æ ¼ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "ç©æè§æ ¼")] |
| | | public string MaterielSpec { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´åæç»ç¶æ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "éè´åæç»ç¶æ")] |
| | | public int PurchaseDetailStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å·²å
¥åºæ°é |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "å·²å
¥åºæ°é")] |
| | | public decimal PurchaseDetailInboundQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åä½ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "åä½")] |
| | | public string Unit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æåç§° |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "ç©æåç§°")] |
| | | public string MaterielName { get; set; } |
| | | } |
| | | } |