mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
20 lines
566 B
C#
20 lines
566 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
|
|
namespace Remotely_Library.Models
|
|
{
|
|
public class PermissionGroup
|
|
{
|
|
[Key]
|
|
public string ID { get; set; } = Guid.NewGuid().ToString().Replace("-", "");
|
|
[StringLength(100)]
|
|
public string Name { get; set; }
|
|
public virtual Organization Organization { get; set; }
|
|
public virtual List<Device> Devices { get; set; }
|
|
public virtual List<RemotelyUser> RemotelyUsers { get; set; }
|
|
}
|
|
}
|