This commit is contained in:
Paul Schneider 2017-02-13 01:32:03 +01:00
commit cea0defaf4
16 changed files with 309 additions and 38 deletions

View file

@ -13,6 +13,9 @@ namespace Yavsc.Models.Haircut
public string Brand { get; set; }
[Required]
public Color Color {get; set;}
public long ColorId { get; set; }
[ForeignKeyAttribute("ColorId")]
public virtual Color Color {get; set;}
}
}