added "UserPermissionTesting_CS_WinForms" project

This commit is contained in:
Atakan Kayman
2026-05-31 15:08:26 +03:00
parent 1ea9de0042
commit 374067dd2e
26 changed files with 2213 additions and 427 deletions
+24
View File
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
namespace UserPermissionTest_CS_WinForms
{
public class User
{
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 User Clone()
{
return new User
{
Username = this.Username,
FullName = this.FullName,
Password = this.Password,
Permissions = new List<string>(this.Permissions)
};
}
}
}