colors (ctor)

This commit is contained in:
Paul Schneider 2017-02-12 03:53:33 +01:00
commit fab5854f8b
31 changed files with 16278 additions and 10579 deletions

View file

@ -0,0 +1,9 @@
namespace Yavsc.Models.Haircut
{
public enum HairCutGenders : int
{
Kid = 1,
Man,
Women
}
}

View file

@ -0,0 +1,31 @@
namespace Yavsc.Models.Messaging
{
public class HairCutQueryEvent : BookQueryProviderInfo, IEvent
{
public HairCutQueryEvent()
{
Topic = "HairCutQuery";
}
public string Message
{
get;
set;
}
public string Sender
{
get;
set;
}
public string Topic
{
get;
set;
}
}
}

View file

@ -0,0 +1,7 @@
namespace Yavsc.Models.Haircut
{
public enum HairDressings {
Brushing,
Folding
}
}

View file

@ -0,0 +1,9 @@
namespace Yavsc.Models.Haircut
{
public enum HairLength : int
{
Short = 1,
HalfLong,
Long
}
}

View file

@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Haircut
{
public class HairPrestation
{
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set;}
public HairLength Length { get; set; }
public HairCutGenders Gender { get; set; }
public bool Cut { get; set; }
public HairDressings Dressing { get; set; }
public HairTechnos Tech { get; set; }
public bool Shampoo { get; set; }
public HairTaint[] Taints { get; set; }
public bool Cares { get; set; }
}
}

View file

@ -0,0 +1,18 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Haircut
{
using Drawing;
public class HairTaint
{
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set;}
public string Brand { get; set; }
[Required]
public Color Color {get; set;}
}
}

View file

@ -0,0 +1,13 @@
namespace Yavsc.Models.Haircut
{
public enum HairTechnos
{
Color,
Permanent,
Defris,
Mech,
Balayage,
TyAndDie
}
}