permet la liaison avec le profile général

main
Paul Schneider 9 years ago
parent 6a28095c66
commit 1067b450f5
1 changed files with 10 additions and 3 deletions

@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using Yavsc.Models.Workflow;
using YavscLib;
namespace Yavsc.Models.Haircut
@ -11,6 +14,10 @@ namespace Yavsc.Models.Haircut
get; set;
}
[JsonIgnore,ForeignKey("UserId")]
public virtual PerformerProfile BaseProfile { get; set; }
[Display(Name="Rayon d'action"),DisplayFormat(DataFormatString="{0} km")]
public int ActionDistance { get; set; }

Loading…