group files by circle
This commit is contained in:
parent
42cf9403cf
commit
590e488024
7 changed files with 3260 additions and 15 deletions
26
src/Yavsc.Server/Models/Access/CircleAuthorizationToFile.cs
Normal file
26
src/Yavsc.Server/Models/Access/CircleAuthorizationToFile.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Newtonsoft.Json;
|
||||
using Yavsc.Abstract.Identity.Security;
|
||||
using Yavsc.Models.Relationship;
|
||||
|
||||
namespace Yavsc.Server.Models.Access
|
||||
{
|
||||
public class CircleAuthorizationToFile : ICircleAuthorization
|
||||
{
|
||||
[Required]
|
||||
public long CircleId
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[Required]
|
||||
public string FullPath
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[ForeignKey("CircleId"), JsonIgnore]
|
||||
public virtual Circle Circle { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue