use links
This commit is contained in:
parent
779d1f4538
commit
6bf85fcdf5
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…
Add table
Add a link
Reference in a new issue