Remotely/Shared/Models/InviteLink.cs
2021-07-29 07:53:59 -07:00

21 lines
579 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 DateTime DateSent { get; set; }
[JsonIgnore]
public virtual Organization Organization { get; set; }
public string ResetUrl { get; set; }
}
}