using System; using System.Collections.Generic; namespace CAPI.Custom.Entities { public class QuoteItem : SurfacePublishedChildEntity { protected string _masterPartNumber = string.Empty; public string MasterPartNumber { get { return _masterPartNumber.ToUpperNonEmpty(); } set { _masterPartNumber = value.ToUpperNonEmpty(); } } protected string _itemPartNumber = string.Empty; public string PartNumber { get { return _itemPartNumber.ToUpperNonEmpty(); } set { _itemPartNumber = value.ToUpperNonEmpty(); } } public string UniqueNumber { get; set; } = string.Empty; public string BinLocation { get; set; } = string.Empty; public string Brand { get; set; } = string.Empty; public string Category { get; set; } = string.Empty; public string Condition { get; set; } = string.Empty; public decimal? CostPrice { get; set; } = 0m; public string Description { get; set; } = string.Empty; public string LeadTime { get; set; } = string.Empty; public decimal? Margin { get; set; } = 0m; public string MinorCode { get; set; } = string.Empty; public int? QuantityAvailable { get; set; } = 0; public int? QuantitySelected { get; set; } = 0; public decimal? SellingPrice { get; set; } = 0m; public int? Sequence { get; set; } = 0; public string Subcategory { get; set; } = string.Empty; public string Supplier { get; set; } = string.Empty; public string SupplierCurrency { get; set; } = string.Empty; public int? SupplierSequence { get; set; } = 0; public string WarehouseLocation { get; set; } = string.Empty; public decimal? WeightKG { get; set; } = 0m; public bool? IsCATList { get; set; } public decimal? CATListCostPrice { get; set; } public bool? PriceCheckIsChecked { get; set; } = false; public DateTime? PriceCheckCheckDate { get; set; } public int? PriceCheckQuoteItemId { get; set; } = null; public string PriceCheckQuoteNumber { get; set; } = string.Empty; public DateTime? PriceCheckQuoteDate { get; set; } = null; public decimal? PriceCheckOldSellPrice { get; set; } = null; public decimal? PriceCheckNewSellPrice { get; set; } = null; public ICollection PriceChecks { get; set; } = new HashSet(); } }