refabrique

This commit is contained in:
Paul Schneider 2016-08-02 17:02:38 +02:00
commit 7c603b3cec
17 changed files with 1797 additions and 139 deletions

View file

@ -9,23 +9,15 @@ namespace Yavsc.Models
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
[Display(Name="Content")]
public string bcontent { get; set; }
[Display(Name="Modified")]
public DateTime modified { get; set; }
[Display(Name="Photo")]
public string photo { get; set; }
[Display(Name="Posted")]
public DateTime posted { get; set; }
[Display(Name="Rate")]
public int rate { get; set; }
[Display(Name="Title")]
public string title { get; set; }
public string Content { get; set; }
public DateTime Modified { get; set; }
public string Photo { get; set; }
public DateTime Posted { get; set; }
public int Rate { get; set; }
public string Title { get; set; }
public string AuthorId { get; set; }
[ForeignKey("AuthorId")]
public ApplicationUser Author { set; get; }
[Display(Name="Visible")]
public bool visible { get; set; }
public bool Visible { get; set; }
}
}