mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
22 lines
582 B
C#
22 lines
582 B
C#
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; }
|
|
}
|
|
}
|