From f6deaa3da0a4f9a6d76b28ccdb94c3e45d1e1e02 Mon Sep 17 00:00:00 2001 From: Piotr Kus Date: Mon, 25 Aug 2025 20:56:15 +0200 Subject: [PATCH] * Changed Dto --- SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineDto.cs | 3 +++ SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineItemDto.cs | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineDto.cs b/SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineDto.cs index 792b305..cdb4d75 100644 --- a/SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineDto.cs +++ b/SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineDto.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using AutoMapper.Configuration.Annotations; namespace SytelineSaAppEfDataModel.Dtos { @@ -41,6 +42,8 @@ namespace SytelineSaAppEfDataModel.Dtos public string TranslatedStatus => TranslateStatus(Status); + [Ignore] public string VatCode { get; set; } + public IEnumerable EdiCustomerOrderLineItems { get; set; } } } diff --git a/SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineItemDto.cs b/SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineItemDto.cs index 5cd9d5f..9978071 100644 --- a/SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineItemDto.cs +++ b/SytelineSaAppEfDataModel/Dtos/EdiCustomerOrderLineItemDto.cs @@ -102,8 +102,8 @@ namespace SytelineSaAppEfDataModel.Dtos public string UfFkrEdiPlaceOrPortDischarge { get; set; } public string? RoutingCode { get; set; } public string? DeliveryCallNumber { get; set; } - public string UnloadingPoint { get; set; } - public string DestinationPoint { get; set; } + public string? UnloadingPoint { get; set; } + public string? DestinationPoint { get; set; } public string NewStatus { get; set; } public string PalletCode { get; set; } public string PalletNumber { get; set; }