Add Comment to ShippingDocument

This commit is contained in:
Loretta 2025-10-19 06:14:28 +02:00
parent 0938422103
commit 5664078ea4
3 changed files with 76 additions and 68 deletions

View File

@ -17,6 +17,8 @@ public class ShippingDocument : MgEntityBase, IShippingDocument
public int TotalPallets { get; set; } public int TotalPallets { get; set; }
public bool IsAllMeasured { get; set; } public bool IsAllMeasured { get; set; }
public string Comment { get; set; }
[Association(ThisKey = nameof(ShippingId), OtherKey = nameof(Shipping.Id), CanBeNull = true)] [Association(ThisKey = nameof(ShippingId), OtherKey = nameof(Shipping.Id), CanBeNull = true)]
public Shipping? Shipping{ get; set; } public Shipping? Shipping{ get; set; }

View File

@ -18,6 +18,7 @@ public interface IShippingDocument: IEntityInt, ITimeStampInfo//, IMeasured
public bool IsAllMeasured { get; set; } public bool IsAllMeasured { get; set; }
public string Comment { get; set; }
public Partner? Partner { get; set; } public Partner? Partner { get; set; }
public Shipping? Shipping{ get; set; } public Shipping? Shipping{ get; set; }
public List<ShippingItem>? ShippingItems { get; set; } public List<ShippingItem>? ShippingItems { get; set; }

View File

@ -32,6 +32,11 @@
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('-android'))">
<RunAOTCompilation>false</RunAOTCompilation>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Release'"> <PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Release'">
<UseInterpreter>true</UseInterpreter> <UseInterpreter>true</UseInterpreter>
</PropertyGroup> </PropertyGroup>