mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
partial revert + change
This commit is contained in:
parent
88cec262cd
commit
a5a2ce7e34
10 changed files with 61 additions and 236 deletions
|
|
@ -1,13 +0,0 @@
|
|||
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; }
|
||||
}
|
||||
|
|
@ -17,5 +17,7 @@ namespace MareSynchronosShared.Models
|
|||
public bool IsAdmin { get; set; } = false;
|
||||
|
||||
public DateTime LastLoggedIn { get; set; }
|
||||
[MaxLength(10)]
|
||||
public string Alias { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue