Remotely/Remotely_Library/ViewModels/OrganizationViewModels.cs
Jared Goodwin 8debc4bad5 Initial
2021-07-29 07:53:41 -07:00

29 lines
748 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Remotely_Library.ViewModels
{
public class Permission
{
public string ID { get; set; }
[StringLength(100)]
public string Name { get; set; }
}
public class OrganizationUser
{
public string ID { get; set; }
public string UserName { get; set; }
public bool IsAdmin { get; set; }
public List<Permission> Permissions { get; set; }
}
public class Invite
{
public string ID { get; set; }
public bool IsAdmin { get; set; }
public DateTime DateSent { get; set; }
public string InvitedUser { get; set; }
}
}