Added channel saving. Fixed channel loading. Added policy store to channels.

This commit is contained in:
Tom
2024-10-20 19:32:30 +00:00
parent 5d69c647cf
commit a9cdb65895
6 changed files with 178 additions and 16 deletions

View File

@ -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
View 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; }
}
}