mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 20:37:23 +01:00
add alias handling to server and database
This commit is contained in:
parent
66e2b3db82
commit
88cec262cd
9 changed files with 553 additions and 12 deletions
13
MareSynchronosServer/MareSynchronosShared/Models/Alias.cs
Normal file
13
MareSynchronosServer/MareSynchronosShared/Models/Alias.cs
Normal 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; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue