mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
22 lines
660 B
C#
22 lines
660 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Remotely.Shared.Models
|
|
{
|
|
public class InviteLink
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public string ID { get; set; }
|
|
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; }
|
|
}
|
|
}
|