22 lines
583 B
C#
22 lines
583 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Back.Data.Models
|
|
{
|
|
// قیمت گداری
|
|
public class Pricing
|
|
{
|
|
public int ID { get; set; }
|
|
public int PermissionID { get; set; }
|
|
public int CalculationTypeID { get; set; }
|
|
public decimal Price { get; set; }
|
|
|
|
#region Navigation
|
|
|
|
[ForeignKey("PermissionID")]
|
|
public virtual Permission Permission { get; set; }
|
|
[ForeignKey("CalculationTypeID")]
|
|
public virtual CalculationType CalculationType { get; set; }
|
|
#endregion
|
|
}
|
|
}
|