From 5664078ea4f85534d6fb89c185ef8bdd93be7f45 Mon Sep 17 00:00:00 2001 From: Loretta Date: Sun, 19 Oct 2025 06:14:28 +0200 Subject: [PATCH] Add Comment to ShippingDocument --- FruitBank.Common/Entities/ShippingDocument.cs | 2 + .../Interfaces/IShippingDocument.cs | 1 + FruitBankHybrid/FruitBankHybrid.csproj | 141 +++++++++--------- 3 files changed, 76 insertions(+), 68 deletions(-) diff --git a/FruitBank.Common/Entities/ShippingDocument.cs b/FruitBank.Common/Entities/ShippingDocument.cs index 2cf429e..7bf3683 100644 --- a/FruitBank.Common/Entities/ShippingDocument.cs +++ b/FruitBank.Common/Entities/ShippingDocument.cs @@ -17,6 +17,8 @@ public class ShippingDocument : MgEntityBase, IShippingDocument public int TotalPallets { get; set; } public bool IsAllMeasured { get; set; } + public string Comment { get; set; } + [Association(ThisKey = nameof(ShippingId), OtherKey = nameof(Shipping.Id), CanBeNull = true)] public Shipping? Shipping{ get; set; } diff --git a/FruitBank.Common/Interfaces/IShippingDocument.cs b/FruitBank.Common/Interfaces/IShippingDocument.cs index c1f26b7..0ac34a4 100644 --- a/FruitBank.Common/Interfaces/IShippingDocument.cs +++ b/FruitBank.Common/Interfaces/IShippingDocument.cs @@ -18,6 +18,7 @@ public interface IShippingDocument: IEntityInt, ITimeStampInfo//, IMeasured public bool IsAllMeasured { get; set; } + public string Comment { get; set; } public Partner? Partner { get; set; } public Shipping? Shipping{ get; set; } public List? ShippingItems { get; set; } diff --git a/FruitBankHybrid/FruitBankHybrid.csproj b/FruitBankHybrid/FruitBankHybrid.csproj index 2abd8a9..c4bbcc5 100644 --- a/FruitBankHybrid/FruitBankHybrid.csproj +++ b/FruitBankHybrid/FruitBankHybrid.csproj @@ -1,89 +1,94 @@  - - net9.0-android;net9.0-ios - $(TargetFrameworks);net9.0-windows10.0.19041.0 + + net9.0-android;net9.0-ios + $(TargetFrameworks);net9.0-windows10.0.19041.0 - Exe - FruitBankHybrid - true - true - enable - false - enable + Exe + FruitBankHybrid + true + true + enable + false + enable - - FruitBank Measuring + + FruitBank Measuring - - com.companyname.blazorapp.1 + + com.companyname.blazorapp.1 - - 1.0 - 1 + + 1.0 + 1 - - None + + None - 15.0 - 15.0 - 33.0 - 10.0.17763.0 - 10.0.17763.0 - - - - true - - - - true - + 15.0 + 15.0 + 33.0 + 10.0.17763.0 + 10.0.17763.0 + - - - - - + + false + - - - + + true + - - + + true + - - - + + + - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - - + + + + - - - ..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\Debug\net9.0\AyCode.Core.dll - - - ..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\Debug\net9.0\AyCode.Services.dll - - - ..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\Debug\net9.0\AyCode.Entities.dll - - + + + ..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\Debug\net9.0\AyCode.Core.dll + + + ..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\Debug\net9.0\AyCode.Services.dll + + + ..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\FruitBank\Debug\net9.0\AyCode.Entities.dll + +