une commande de coupe de cheveux

This commit is contained in:
2017-04-01 02:14:10 +02:00
parent aaeac2b1c7
commit 4d3194d13a
38 changed files with 3137 additions and 196 deletions

View File

@ -16,20 +16,20 @@ namespace Yavsc.Models.Haircut
[Required]
public long PrestationId { get; set; }
[ForeignKey("PrestationId")]
[ForeignKey("PrestationId"),Required]
public virtual HairPrestation Prestation { get; set; }
[Required][ForeignKey("LocationId")]
[ForeignKey("LocationId")]
public Location Location { get; set; }
public virtual Location Location { get; set; }
public DateTime EventDate
public DateTime? EventDate
{
get;
set;
}
public long LocationId
public long? LocationId
{
get;