Two things:
* User views its devices, from a /manage index link * Yavsc.Server resurection
This commit is contained in:
parent
a825fa48c8
commit
b962d58ded
201 changed files with 3756 additions and 502 deletions
23
Yavsc.Server/Models/Access/CircleAuthorizationToBlogPost.cs
Normal file
23
Yavsc.Server/Models/Access/CircleAuthorizationToBlogPost.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
namespace Yavsc.Models.Access
|
||||
{
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Models.Relationship;
|
||||
using Newtonsoft.Json;
|
||||
using Yavsc;
|
||||
using Blog;
|
||||
|
||||
public class CircleAuthorizationToBlogPost : ICircleAuthorization
|
||||
{
|
||||
public long CircleId { get; set; }
|
||||
public long BlogPostId { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("BlogPostId")]
|
||||
public virtual BlogPost Target { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("CircleId")]
|
||||
public virtual Circle Allowed { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue