mirror of
https://git.battle-of-pip.de/root/vpr-mitarbeiterverwaltung.git
synced 2025-10-14 01:54:53 +02:00
added login via mysql
added getselfuser from mysql
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user