Proj. plan, URS v1.01; UML v1; ModelBinding, DataAnnotations, Models start

This commit is contained in:
Dimitar Byalkov
2023-03-16 00:12:14 +01:00
parent 3874cc0ad0
commit e296205466
112 changed files with 506 additions and 954 deletions

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StudentHouseDashboard.Models
{
public class User
{
public User(int username, UserRole role)
{
Username = username;
Role = role;
}
public int Username
{
get;set;
}
public UserRole Role
{
get;set;
}
}
}