17 lines
		
	
	
		
			389 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			389 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.ComponentModel.DataAnnotations;
 | |
| 
 | |
| namespace MareSynchronosShared.Models;
 | |
| 
 | |
| public class Auth
 | |
| {
 | |
|     [Key]
 | |
|     [MaxLength(64)]
 | |
|     public string HashedKey { get; set; }
 | |
| 
 | |
|     public string UserUID { get; set; }
 | |
|     public User User { get; set; }
 | |
|     public bool IsBanned { get; set; }
 | |
|     public string? PrimaryUserUID { get; set; }
 | |
|     public User? PrimaryUser { get; set; }
 | |
| }
 | 
