added login via mysql

added getselfuser from mysql
This commit is contained in:
Tim G. | SnapixLP
2025-06-06 01:41:45 +02:00
parent 57e8f64095
commit 2645d698d7
3 changed files with 164 additions and 50 deletions

View File

@@ -5,7 +5,7 @@ namespace Library;
public class Employee
{
public string Id { get; set; }
public int Id { get; set; }
public string Code { get; set; }
public string Surname { get; set; }
public string Forename { get; set; }
@@ -23,7 +23,6 @@ public class Employee
public Employee(string code, string surname, string forename, string email)
{
Id = Guid.NewGuid().ToString();
Code = code;
Surname = surname;
Forename = forename;