OneTime Invites Server handling (#17)

* add server-side handling for one time invites
This commit is contained in:
rootdarkarchon
2022-10-25 00:54:51 +02:00
committed by GitHub
parent c13e457780
commit d83d9a6753
10 changed files with 1206 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MareSynchronosShared.Models;
public class GroupTempInvite
{
public Group Group { get; set; }
public string GroupGID { get; set; }
[MaxLength(64)]
public string Invite { get; set; }
public DateTime ExpirationDate { get; set; }
}