using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CAPI.Custom.Domain.Quotes { public class QuoteModel { public bool? isActive { get; set; } public int itemID { get; set; } public int surfaceId { get; set; } public int? CreatedBy { get; set; } = 0; public string CreatedByDisplay { get; set; } = string.Empty; public DateTime? CreatedDate { get; set; } = DateTime.Now; public bool? IsLocked { get; set; } = false; public int? LastUpdatedBy { get; set; } = 0; public DateTime? LastUpdatedDate { get; set; } = DateTime.Now; public DateTime? Date { get; set; } public int? StatusId { get; set; } = CAPI.Custom.QuoteStatus.Draft; public string LastUpdatedByDisplay { get; set; } = string.Empty; public DateTime? Month { get; set; } = DateTime.Today; public string Number { get; set; } = string.Empty; public DateTime? AcceptedDate { get; set; } public string DeliveryCity { get; set; } = string.Empty; public string DeliveryCountry { get; set; } = string.Empty; public DateTime? DeliveryEstimatedDate { get; set; } public string DeliveryInstructions { get; set; } = string.Empty; public string DeliveryPONumber { get; set; } = string.Empty; public string DeliveryPostalCode { get; set; } = string.Empty; public string DeliveryState { get; set; } = string.Empty; public string DeliveryStreet { get; set; } = string.Empty; public string DeliverySuburb { get; set; } = string.Empty; public string CustomerContactName { get; set; } = string.Empty; public string CustomerTradingName { get; set; } = string.Empty; public string CustomerCode { get; set; } = string.Empty; public string CustomerCurrency { get; set; } = string.Empty; public string CustomerIsParent { get; set; } = string.Empty; public string CustomerLegalEntity { get; set; } = string.Empty; public string CustomerParentCompany { get; set; } = string.Empty; public string CustomerPhysicalAddress { get; set; } = string.Empty; public string CustomerPostalAddress { get; set; } = string.Empty; public string CustomerType { get; set; } = string.Empty; public string CustomerVATNumber { get; set; } = string.Empty; public string CustomerVATRate { get; set; } = string.Empty; public string CustomerContactEmail { get; set; } = string.Empty; public string CustomerDefaultDiscount { get; set; } = string.Empty; public string CustomerDefaultMargin { get; set; } = string.Empty; public string CustomerContactMobileNumber { get; set; } = string.Empty; public string CustomerContactTelephone { get; set; } = string.Empty; public string FinalNotes { get; set; } = string.Empty; public decimal? FinalSubtotalexclVAT { get; set; } = 0; public decimal? FinalTotalinclVAT { get; set; } = 0; public decimal? FinalTotalWeightKG { get; set; } = 0; public decimal? FinalVAT { get; set; } = 0; public string ItemsDefaultMargin { get; set; } = string.Empty; public decimal? ItemsGrossProfit { get; set; } = 0; public string ItemsNotes { get; set; } = string.Empty; public decimal? ItemsSubtotalexclVAT { get; set; } = 0; public string ItemsSupplyTypes { get; set; } = string.Empty; public decimal? ItemsTotalCost { get; set; } = 0; public decimal? ItemsTotalinclVAT { get; set; } = 0; public decimal? ItemsTotalMargin { get; set; } = 0; public decimal? ItemsTotalWeightKG { get; set; } = 0; public decimal? ItemsVAT { get; set; } = 0; } }