added postgresql integration for user permissions
This commit is contained in:
@@ -8,7 +8,7 @@ namespace UserPermissionTest_CS_WinForms
|
||||
public string Username { get; set; } = string.Empty;
|
||||
public string FullName { get; set; } = string.Empty;
|
||||
public string Password { get; set; } = string.Empty;
|
||||
public List<string> Permissions { get; set; } = new List<string>();
|
||||
public List<int> Permissions { get; set; } = new List<int>();
|
||||
|
||||
public User Clone()
|
||||
{
|
||||
@@ -17,7 +17,7 @@ namespace UserPermissionTest_CS_WinForms
|
||||
Username = this.Username,
|
||||
FullName = this.FullName,
|
||||
Password = this.Password,
|
||||
Permissions = new List<string>(this.Permissions)
|
||||
Permissions = new List<int>(this.Permissions)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user