profiles dj, musicien, formation

This commit is contained in:
Paul Schneider 2017-01-06 14:02:17 +01:00
commit e143052211
35 changed files with 5364 additions and 18 deletions

View file

@ -18,6 +18,15 @@ namespace Yavsc.Models
[StringLength(512),Required()]
public string Name {get; set;}
[StringLength(512)]
public string ParentCode { get; set; }
[ForeignKey("ParentCode")]
public virtual Activity Parent { get; set; }
[InverseProperty("Parent")]
public virtual List<Activity> Children { get; set; }
public string Description {get; set;}
/// <summary>
/// Name to associate to a performer in this activity domain