WIP allow blog comment

This commit is contained in:
Paul Schneider
2025-07-05 13:21:50 +01:00
parent 3f1bfc1c3c
commit 15d35e5508
7 changed files with 3588 additions and 13 deletions

View File

@ -8,8 +8,8 @@ namespace Yavsc.Models.Access
public class CircleAuthorizationToBlogPost : ICircleAuthorization
{
public long CircleId { get; set; }
public long BlogPostId { get; set; }
public long CircleId { get; set; }
public long BlogPostId { get; set; }
[JsonIgnore]
[ForeignKey("BlogPostId")]
@ -17,7 +17,10 @@ namespace Yavsc.Models.Access
[JsonIgnore]
[ForeignKey("CircleId")]
public virtual Circle Allowed { get; set; }
public virtual Circle Allowed { get; set; }
public bool Comment { get; set; }
}
}