colors (ctor)
This commit is contained in:
parent
8e658d2bb4
commit
fab5854f8b
31 changed files with 16278 additions and 10579 deletions
9
Yavsc/Models/Haircut/HairCutGenders.cs
Normal file
9
Yavsc/Models/Haircut/HairCutGenders.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc.Models.Haircut
|
||||
{
|
||||
public enum HairCutGenders : int
|
||||
{
|
||||
Kid = 1,
|
||||
Man,
|
||||
Women
|
||||
}
|
||||
}
|
||||
31
Yavsc/Models/Haircut/HairCutQueryEvent.cs
Normal file
31
Yavsc/Models/Haircut/HairCutQueryEvent.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
7
Yavsc/Models/Haircut/HairDressings.cs
Normal file
7
Yavsc/Models/Haircut/HairDressings.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
namespace Yavsc.Models.Haircut
|
||||
{
|
||||
public enum HairDressings {
|
||||
Brushing,
|
||||
Folding
|
||||
}
|
||||
}
|
||||
9
Yavsc/Models/Haircut/HairLength.cs
Normal file
9
Yavsc/Models/Haircut/HairLength.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc.Models.Haircut
|
||||
{
|
||||
public enum HairLength : int
|
||||
{
|
||||
Short = 1,
|
||||
HalfLong,
|
||||
Long
|
||||
}
|
||||
}
|
||||
22
Yavsc/Models/Haircut/HairPrestation.cs
Normal file
22
Yavsc/Models/Haircut/HairPrestation.cs
Normal 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; }
|
||||
|
||||
}
|
||||
}
|
||||
18
Yavsc/Models/Haircut/HairTaint.cs
Normal file
18
Yavsc/Models/Haircut/HairTaint.cs
Normal 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;}
|
||||
}
|
||||
}
|
||||
13
Yavsc/Models/Haircut/HairTechnos.cs
Normal file
13
Yavsc/Models/Haircut/HairTechnos.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
namespace Yavsc.Models.Haircut
|
||||
{
|
||||
|
||||
public enum HairTechnos
|
||||
{
|
||||
Color,
|
||||
Permanent,
|
||||
Defris,
|
||||
Mech,
|
||||
Balayage,
|
||||
TyAndDie
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue