Proj. plan, URS v1.01; UML v1; ModelBinding, DataAnnotations, Models start
This commit is contained in:
26
StudentHouseDashboard/HouseData/Models/User.cs
Normal file
26
StudentHouseDashboard/HouseData/Models/User.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user