use links

This commit is contained in:
Paul Schneider 2017-05-31 01:00:56 +02:00
commit 6bf85fcdf5
2 changed files with 19 additions and 3 deletions

View file

@ -1,10 +1,13 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using Yavsc.Models.Workflow;
using System.Collections.Generic;
namespace Yavsc.Models.Haircut
{
using Workflow;
using Relationship;
public class BrusherProfile : ISpecializationSettings
{
public BrusherProfile()
@ -17,9 +20,13 @@ namespace Yavsc.Models.Haircut
get; set;
}
[JsonIgnore,ForeignKey("UserId")]
public virtual PerformerProfile BaseProfile { get; set; }
[Display(Name="Portfolio")]
public virtual List<Link> Links { get; set; }
[Display(Name="Rayon d'action"),DisplayFormat(DataFormatString="{0} km")]