using System.ComponentModel.DataAnnotations.Schema; namespace Distribution.Models { public class PriceListItem : Template { public Guid FK_PriceListId { get; set; } [ForeignKey("FK_PriceListId")] public PriceList PriceList { get; set; } public Guid FK_ItemId { get; set; } [ForeignKey("FK_ItemId")] public Item Item { get; set; } public decimal Price { get; set; } /// /// Floor price for negotiation. Null = no negotiation allowed, Price is fixed. /// Must be less than or equal to Price when set. /// public decimal? MinPrice { get; set; } } }