a basket
This commit is contained in:
parent
45641cee35
commit
a96faa6f6c
35 changed files with 2787 additions and 62 deletions
|
|
@ -15,13 +15,15 @@ namespace Yavsc.Models.Haircut
|
|||
[Required]
|
||||
public long PrestationId { get; set; }
|
||||
|
||||
[ForeignKey("PrestationId"),Required]
|
||||
[ForeignKey("PrestationId"),Required,Display(Name="Préstation")]
|
||||
public virtual HairPrestation Prestation { get; set; }
|
||||
|
||||
[ForeignKey("LocationId")]
|
||||
[Display(Name="Lieu du rendez-vous")]
|
||||
|
||||
public virtual Location Location { get; set; }
|
||||
|
||||
[Display(Name="Date et heure")]
|
||||
public DateTime? EventDate
|
||||
{
|
||||
get;
|
||||
|
|
@ -34,5 +36,9 @@ namespace Yavsc.Models.Haircut
|
|||
|
||||
set;
|
||||
}
|
||||
|
||||
[Display(Name="Informations complémentaires"),
|
||||
StringLengthAttribute(512)]
|
||||
public string AdditionalInfo { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue