FlatFeeDiscount
This commit is contained in:
parent
9923810d4f
commit
b2eaed3cf2
8 changed files with 39 additions and 27 deletions
|
|
@ -132,5 +132,8 @@ namespace Yavsc.Models.Haircut
|
|||
|
||||
public decimal CarePrice { get; set; }
|
||||
|
||||
[Display(Name="Remise au forfait coupe+technique"),DisplayFormat(DataFormatString="{0:C}")]
|
||||
|
||||
public decimal FlatFeeDiscount { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -11,7 +11,14 @@ namespace Yavsc.Models.Haircut
|
|||
{
|
||||
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id { get; set; }
|
||||
HairPrestation Prestation { get; set; }
|
||||
|
||||
[Required]
|
||||
public long PrestationId { get; set; }
|
||||
|
||||
[ForeignKey("PrestationId")]
|
||||
public virtual HairPrestation Prestation { get; set; }
|
||||
|
||||
[Required]
|
||||
|
||||
public Location Location { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue