add alias handling to server and database

This commit is contained in:
Stanley Dimant
2022-08-25 00:34:21 +02:00
parent 66e2b3db82
commit 88cec262cd
9 changed files with 553 additions and 12 deletions

View File

@@ -0,0 +1,13 @@
using System.ComponentModel.DataAnnotations;
namespace MareSynchronosShared.Models;
public class Alias
{
[Key]
[MaxLength(10)]
[Required]
public string AliasUID { get; set; }
public User User { get; set; }
public string UserUID { get; set; }
}