2017-02-11 15:46:26 +01:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
2017-02-12 03:53:33 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Yavsc.Models.Haircut
|
2017-02-11 15:46:26 +01:00
|
|
|
|
{
|
2017-02-12 03:53:33 +01:00
|
|
|
|
using Drawing;
|
2017-02-11 15:46:26 +01:00
|
|
|
|
public class HairTaint
|
|
|
|
|
|
{
|
|
|
|
|
|
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
|
|
public long Id { get; set;}
|
|
|
|
|
|
|
2017-02-12 03:53:33 +01:00
|
|
|
|
public string Brand { get; set; }
|
2017-02-11 15:46:26 +01:00
|
|
|
|
|
2017-02-12 03:53:33 +01:00
|
|
|
|
[Required]
|
2017-02-13 01:32:03 +01:00
|
|
|
|
public long ColorId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[ForeignKeyAttribute("ColorId")]
|
|
|
|
|
|
public virtual Color Color {get; set;}
|
2017-02-11 15:46:26 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|