mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
24 lines
523 B
C#
24 lines
523 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace RadicadeServer.RecNet.Rooms
|
|
{
|
|
public class SubRoomPermission
|
|
{
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public long Id { get; set; }
|
|
|
|
public long subRoomId { get; set; }
|
|
|
|
[MaxLength(128)]
|
|
public string permission { get; set; } = "";
|
|
|
|
public long role { get; set; }
|
|
|
|
public int type { get; set; }
|
|
|
|
public string value { get; set; } = "";
|
|
}
|
|
}
|