Admin view hinzugefügt
This commit is contained in:
+5
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user