refabrique
This commit is contained in:
parent
33dbed8b90
commit
817c1c151f
34 changed files with 3476 additions and 35 deletions
|
|
@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
public partial class Blog
|
||||
public partial class Blog: IBlog
|
||||
{
|
||||
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id { get; set; }
|
||||
|
|
@ -19,7 +19,7 @@ namespace Yavsc.Models
|
|||
[Required]
|
||||
public string AuthorId { get; set; }
|
||||
[ForeignKey("AuthorId")]
|
||||
public ApplicationUser Author { set; get; }
|
||||
public IApplicationUser Author { set; get; }
|
||||
public bool visible { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue