Added channel saving. Fixed channel loading. Added policy store to channels.
This commit is contained in:
@ -7,5 +7,6 @@ namespace HermesSocketServer.Models
|
||||
public string Id { get; set; }
|
||||
public User User { get; set; }
|
||||
public ChatterStore Chatters { get; set; }
|
||||
public PolicyStore Policies { get; set; }
|
||||
}
|
||||
}
|
12
Models/Policy.cs
Normal file
12
Models/Policy.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace HermesSocketServer.Store
|
||||
{
|
||||
public class Policy
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string UserId { get; set; }
|
||||
public string GroupId { get; set; }
|
||||
public string Path { get; set; }
|
||||
public int Usage { get; set; }
|
||||
public TimeSpan Span { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user