use links

main
Paul Schneider 9 years ago
parent 7043b9d4e7
commit e17da12493
2 changed files with 19 additions and 3 deletions

@ -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")]

@ -1,11 +1,20 @@
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Relationship
{
public class Link
{
[Display(Name="Hyper référence")]
public string HRef { get; set; }
public string Rel { get; set; }
[Display(Name="Methode Http attendue coté serveur")]
public string Method { get; set; }
[Display(Name="Classe de lien")]
public string Rel { get; set; }
[Display(Name="Type mime du contenu attendu côté client")]
public string ContentType { get; set; }
}
}

Loading…