mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
21 lines
619 B
C#
21 lines
619 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; } = null!;
|
|
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; }
|
|
}
|