yavsc/Yavsc.Server/Models/HairCut/HairTaint.cs

21 lines
490 B
C#

8 years ago
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
8 years ago
namespace Yavsc.Models.Haircut
8 years ago
{
8 years ago
using Drawing;
8 years ago
public class HairTaint
{
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set;}
8 years ago
public string Brand { get; set; }
8 years ago
8 years ago
[Required]
8 years ago
public long ColorId { get; set; }
[ForeignKeyAttribute("ColorId")]
public virtual Color Color {get; set;}
8 years ago
}
}