* Extended of Dtos
* Added new Services and Controllers
This commit is contained in:
@@ -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
|
||||
{
|
||||
@@ -105,6 +106,8 @@ namespace SytelineSaAppEfDataModel.Dtos
|
||||
public string TranslatedStatus => TranslateStatus(Status ?? string.Empty);
|
||||
public string? SlOrderNumber => EdiCustomerOrderTranslates.MaxBy(x => x.CreatedDate)?.CoCoNum;
|
||||
public string SentToSl => Posted == 1 ? "TAK" : "NIE";
|
||||
[Ignore] public int ScheduleOrderId { get; set; }
|
||||
[Ignore] public DateTime LastUpdateDate { get; set; }
|
||||
|
||||
public IEnumerable<EdiCustomerOrderLineDto> EdiCustomerOrderLines { get; set; } = new List<EdiCustomerOrderLineDto>();
|
||||
public IEnumerable<EdiCustomerOrderTranslateDto> EdiCustomerOrderTranslates { get; set; } = new List<EdiCustomerOrderTranslateDto>();
|
||||
|
||||
11
SytelineSaAppEfDataModel/Dtos/EdiLogDto.cs
Normal file
11
SytelineSaAppEfDataModel/Dtos/EdiLogDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace SytelineSaAppEfDataModel.Dtos;
|
||||
|
||||
public class EdiLogDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string ProcessName { get; set; }
|
||||
public string ConfigurationName { get; set; }
|
||||
public int Status { get; set; }
|
||||
public string LogText { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user