refabriqué

This commit is contained in:
2017-03-23 02:17:30 +01:00
parent 60dfa62917
commit 9bb246e4c0
6 changed files with 32 additions and 6 deletions

View File

@ -11,7 +11,7 @@ namespace Yavsc.Models.Haircut
Man,
[Display(Name="Enfant")]
Kid
Kid
}
}
}

View File

@ -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; }
}
}