From a38b50675f2cf8e813bd337ca2f9d9456cc421d3 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期四, 17 十月 2024 09:50:14 +0800 Subject: [PATCH] WCS --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/OutboundOrder/Dt_OutOrderProductionDetail.cs | 97 ++++++++++++++++++++---------------------------- 1 files changed, 41 insertions(+), 56 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/OutboundOrder/Dt_OutOrderProductionDetail.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/OutboundOrder/Dt_OutOrderProductionDetail.cs" index c14c5ad..04a2916 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/OutboundOrder/Dt_OutOrderProductionDetail.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/OutboundOrder/Dt_OutOrderProductionDetail.cs" @@ -1,68 +1,53 @@ 锘縰sing SqlSugar; using WIDESEA_Core.DB.Models; -namespace WIDESEA_Model.Models +namespace WIDESEA_Model.Models; + +/// <summary> +/// 鐢熶骇鍑哄簱鍗曟槑缁� +///</summary> +[SugarTable("Dt_OutOrderProductionDetail", "鐢熶骇鍑哄簱鍗曟槑缁�")] +public class Dt_OutOrderProductionDetail : BaseEntity { /// <summary> - /// 鐢熶骇鍑哄簱鍗曟槑缁� + /// 澶� 娉�:涓婚敭锛岃嚜鍔ㄥ闀� + /// 榛樿鍊�: ///</summary> - [SugarTable("Dt_OutOrderProductionDetail", "鐢熶骇鍑哄簱鍗曟槑缁�")] - public class Dt_OutOrderProductionDetail : BaseEntity - { - /// <summary> - /// 澶� 娉�:涓婚敭锛岃嚜鍔ㄥ闀� - /// 榛樿鍊�: - ///</summary> - [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭锛岃嚜鍔ㄥ闀�")] - public int Id { get; set; } + [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭锛岃嚜鍔ㄥ闀�")] + public int Id { get; set; } - /// <summary> - /// 澶� 娉�:鐢熶骇鍑哄簱鍗旾D锛堝閿級 - /// 榛樿鍊�: - ///</summary> - [SugarColumn(ColumnName = "ProductionOutOrderId", ColumnDescription = "鐢熶骇鍑哄簱鍗旾D锛堝閿級")] - public int ProductionOutOrderId { get; set; } + /// <summary> + /// 澶� 娉�:鐢熶骇鍑哄簱鍗旾D锛堝閿級 + /// 榛樿鍊�: + ///</summary> + [SugarColumn(ColumnName = "ProductionOutOrderId", ColumnDescription = "鐢熶骇鍑哄簱鍗旾D锛堝閿級")] + public int ProductionOutOrderId { get; set; } - /// <summary> - /// 澶� 娉�:鐗╂枡ID - /// 榛樿鍊�: - ///</summary> - [SugarColumn(ColumnName = "MaterialId", ColumnDescription = "鐗╂枡ID")] - public int MaterialId { get; set; } + /// <summary> + /// 澶� 娉�:鐗╂枡ID + /// 榛樿鍊�: + ///</summary> + [SugarColumn(ColumnName = "MaterialId", ColumnDescription = "鐗╂枡ID")] + public int MaterialId { get; set; } - /// <summary> - /// 澶� 娉�: 鏁伴噺 - /// 榛樿鍊�: - ///</summary> - [SugarColumn(ColumnName = "Quantity", ColumnDescription = " 鏁伴噺")] - public decimal Quantity { get; set; } + /// <summary> + /// 澶� 娉�: 鏁伴噺 + /// 榛樿鍊�: + ///</summary> + [SugarColumn(ColumnName = "Quantity", ColumnDescription = " 鏁伴噺")] + public decimal Quantity { get; set; } - /// <summary> - /// 澶� 娉�:鍗曚环 - /// 榛樿鍊�: - ///</summary> - [SugarColumn(ColumnName = "UnitPrice", ColumnDescription = "鍗曚环")] - public decimal? UnitPrice { get; set; } + /// <summary> + /// 澶� 娉�:澶囨敞 + /// 榛樿鍊�: + ///</summary> + [SugarColumn(ColumnName = "Remarks", ColumnDescription = "澶囨敞", Length = 100)] + public string? Remarks { get; set; } - /// <summary> - /// 澶� 娉�:鎬讳环 - /// 榛樿鍊�: - ///</summary> - [SugarColumn(ColumnName = "TotalPrice", ColumnDescription = "鎬讳环")] - public decimal? TotalPrice { get; set; } - - /// <summary> - /// 澶� 娉�:澶囨敞 - /// 榛樿鍊�: - ///</summary> - [SugarColumn(ColumnName = "Remarks", ColumnDescription = "澶囨敞")] - public string? Remarks { get; set; } - - /// <summary> - /// 澶� 娉�:鎵规鍙� - /// 榛樿鍊�: - ///</summary> - [SugarColumn(ColumnName = "BatchNumber", ColumnDescription = "鎵规鍙�")] - public string BatchNumber { get; set; } = null!; - } + /// <summary> + /// 澶� 娉�:鎵规鍙� + /// 榛樿鍊�: + ///</summary> + [SugarColumn(ColumnName = "BatchNumber", ColumnDescription = "鎵规鍙�", Length = 30)] + public string BatchNumber { get; set; } = null!; } \ No newline at end of file -- Gitblit v1.9.3