Admin view hinzugefügt

This commit is contained in:
NBTEMP\bib
2026-09-14 19:20:37 +02:00
parent fbc37f3e2b
commit d8df625bac
8 changed files with 686 additions and 7 deletions
+5 -1
View File
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -13,6 +14,7 @@ namespace Casino
public int Alter { get; set; }
public string Passwort { get; set; }
public decimal Geld { get; set; }
public string Rolle { get; set; }
public User(string name, int age, string passwort)
{
ID = ID_Generation();
@@ -20,14 +22,16 @@ namespace Casino
Alter = age;
Passwort = passwort;
Geld = 1000;
Rolle = "User";
}
public User(string id, string name, int age,string passwort, int geld)
public User(string id, string name, int age,string passwort, int geld, string rolle)
{
ID = id;
Name = name;
Alter = age;
Passwort = passwort;
Geld = geld;
Rolle = rolle;
}
private string ID_Generation()