yavsc/src/Yavsc.Server/Models/Access/CircleAuthorizationToBlogPost.cs

21 lines
551 B
C#
Raw Normal View History

2017-01-20 14:20:44 +01:00
namespace Yavsc.Models.Access
{
using System.ComponentModel.DataAnnotations.Schema;
using Models.Relationship;
using Newtonsoft.Json;
2017-10-04 23:53:47 +02:00
using Blog;
2018-07-16 02:36:44 +02:00
using Yavsc.Abstract.Identity.Security;
using Yavsc.Abstract.BlogSpot;
2017-01-20 14:20:44 +01:00
public class CircleAuthorizationToBlogPost : PostAccessControlRulePayload
2017-01-20 14:20:44 +01:00
{
[JsonIgnore]
[ForeignKey("BlogPostId")]
2017-10-04 23:53:47 +02:00
public virtual BlogPost Target { get; set; }
2017-01-20 14:20:44 +01:00
[JsonIgnore]
[ForeignKey("CircleId")]
2025-07-05 13:21:50 +01:00
public virtual Circle Allowed { get; set; }
2017-01-20 14:20:44 +01:00
}
2017-05-27 16:22:58 +02:00
}