refact
This commit is contained in:
parent
d8fa166115
commit
cea0defaf4
16 changed files with 309 additions and 38 deletions
|
|
@ -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;}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue