Add pricing and supplier master data
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user