This commit is contained in:
2018-09-05 23:05:43 +00:00
parent cd52c3e83f
commit 0a3c927429
6 changed files with 37 additions and 24 deletions

View File

@@ -18,10 +18,10 @@ namespace AyaNova.Models
[Required]
public string Login { get; set; }
[Required]
public string Password { get; set; }
public string Password { get; set; }
public string Salt { get; set; }
[Required]
public AuthorizationRoles Roles { get; set; }
public AuthorizationRoles Roles { get; set; }
[Required]
public long LocaleId { get; set; }
public string DlKey { get; set; }
@@ -31,11 +31,16 @@ namespace AyaNova.Models
public UserType UserType { get; set; }
[MaxLength(255)]
public string EmployeeNumber { get; set; }
public string Notes { get; set; }
public string Notes { get; set; }
public long? ClientId { get; set; }
public long? HeadOfficeId { get; set; }
public long? SubVendorId { get; set; }
//relations
//https://docs.microsoft.com/en-us/ef/core/modeling/relationships#other-relationship-patterns
public UserOptions UserOptions { get; set; }
}
}
/*