Remotely/Shared/Models/InviteLink.cs
2021-07-29 07:56:06 -07:00

22 lines
628 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Text.Json.Serialization;
namespace Remotely.Shared.Models
{
public class InviteLink
{
[Key]
public string ID { get; set; } = Guid.NewGuid().ToString();
public string InvitedUser { get; set; }
public bool IsAdmin { get; set; }
public DateTimeOffset DateSent { get; set; }
[JsonIgnore]
public Organization Organization { get; set; }
public string OrganizationID { get; set; }
public string ResetUrl { get; set; }
}
}