using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FaKrosnoEfDataModel.Dtos { public class ScheduleOrderDto : DtoBase { public string PONum { get; set; } public int OrderID { get; set; } public int RecipientID { get; set; } public DateTime LastUpdateDate { get; set; } public int DocNumber { get; set; } public string? DocType { get; set; } public string RecipientCode => Recipient.RecipientCode; public string? PurchaserCode => Recipient.Purchaser?.PurchaserCode; public string RecipientName => Recipient.RecipientDesc; public string? PurchaserName => Recipient.Purchaser?.PurchaserDesc; public RecipientDto Recipient { get; set; } public IList ScheduleOrderDetails { get; set; } public IList ScheduleOrderMiscs { get; set; } } }