refabriqué
This commit is contained in:
@ -11,7 +11,7 @@ namespace Yavsc.Models.Haircut
|
||||
Man,
|
||||
|
||||
[Display(Name="Enfant")]
|
||||
Kid
|
||||
|
||||
Kid
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Yavsc.Models.Haircut
|
||||
{
|
||||
@ -16,7 +16,7 @@ namespace Yavsc.Models.Haircut
|
||||
public long Id { get; set; }
|
||||
|
||||
[Display(Name="Longueur de cheveux")]
|
||||
public Haircut.HairLength Length { get; set; }
|
||||
public HairLength Length { get; set; }
|
||||
|
||||
[Display(Name="Pour qui")]
|
||||
public HairCutGenders Gender { get; set; }
|
||||
@ -34,12 +34,13 @@ namespace Yavsc.Models.Haircut
|
||||
[Display(Name="Shampoing")]
|
||||
public bool Shampoo { get; set; }
|
||||
|
||||
[Display(Name="Couleurs")]
|
||||
[Display(Name="Couleurs"),JsonIgnore]
|
||||
|
||||
public virtual List<HairTaint> Taints { get; set; }
|
||||
|
||||
[Display(Name="Soins")]
|
||||
public bool Cares { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -29,5 +29,8 @@
|
||||
<Content Include="Models\Haircut\HairLength.cs" />
|
||||
<Content Include="gulpfile.js" />
|
||||
<Content Include="Views\Home\Index.cshtml" />
|
||||
<Content Include="Models\Haircut\HairCutGenders.cs" />
|
||||
<Content Include="Models\Haircut\HairTechnos.cs" />
|
||||
<Content Include="Models\Haircut\HairTaint.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
11
YavscLib/HairCut/HairLength.cs
Normal file
11
YavscLib/HairCut/HairLength.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace YavscLib.HairCut
|
||||
{
|
||||
public enum HairLength : int
|
||||
{
|
||||
HalfLong,
|
||||
|
||||
Short = 1,
|
||||
|
||||
Long
|
||||
}
|
||||
}
|
@ -4,6 +4,16 @@ namespace YavscLib.HairCut
|
||||
{
|
||||
long Id { get; set; }
|
||||
int Length { get; set; }
|
||||
int Gender { get; set; }
|
||||
bool Cut { get; set; }
|
||||
|
||||
int Dressing { get; set; }
|
||||
int Tech { get; set; }
|
||||
|
||||
bool Shampoo { get; set; }
|
||||
|
||||
long[] Taints { get; set; }
|
||||
|
||||
bool Cares { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -112,6 +112,7 @@
|
||||
<Content Include="project.json" />
|
||||
<Content Include="HairCut\IHairCutQuery.cs" />
|
||||
<Content Include="HairCut\IPrestation.cs" />
|
||||
<Content Include="HairCut\HairLength.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
|
Reference in New Issue
Block a user