using CAPI.Custom.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CAPI.Custom.Domain.Quotes { public class PartPriceAvailabilityResult : IEquatable { public int itemID { get; set; } public string PartNumber { get; set; } public string SupplierName { get; set; } public string Brand { get; set; } public string Condition { get; set; } public decimal Price { get; set; } public int Available { get; set; } public string Currency { get; set; } public string Note { get; set; } public bool Equals(QuoteItem other) { return PartNumber.Equals(other.PartNumber) && SupplierName.Equals(other.Supplier) && Brand.Equals(other.Brand) && Condition.Equals(other.Condition); //&& Note.Equals(other.QuoteItems_QuoteItems_QuoteItemsWarehouseLocation); } } }