mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-27 07:59:03 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Text.Json.Serialization;
|
||||
using RadicadeServer.RecNet.Enums.Rooms;
|
||||
|
||||
namespace RadicadeServer.RecNet.Rooms
|
||||
{
|
||||
public class RoomRole
|
||||
{
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity), JsonIgnore]
|
||||
public long RoleId { get; set; }
|
||||
[JsonIgnore]
|
||||
public long RoomId { get; set; }
|
||||
|
||||
public long AccountId { get; set; }
|
||||
public RoleType Role { get; set; }
|
||||
public RoleType InvitedRole { get; set; }
|
||||
|
||||
public long? LastChangedByAccountId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user