24 lines
679 B
C#
24 lines
679 B
C#
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; }
|
|
|
|
/// <summary>
|
|
/// Floor price for negotiation. Null = no negotiation allowed, Price is fixed.
|
|
/// Must be less than or equal to Price when set.
|
|
/// </summary>
|
|
public decimal? MinPrice { get; set; }
|
|
}
|
|
}
|