The next generation of the Teknik Services. Written in ASP.NET.
https://www.teknik.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
749 B
31 lines
749 B
using System; |
|
using System.ComponentModel.DataAnnotations; |
|
using Microsoft.AspNet.Identity.EntityFramework; |
|
using System.Collections.Generic; |
|
|
|
namespace Teknik.Areas.Profile.Models |
|
{ |
|
public class User |
|
{ |
|
public int UserId { get; set; } |
|
|
|
public string Username { get; set; } |
|
|
|
public string HashedPassword { get; set; } |
|
|
|
public DateTime JoinDate { get; set; } |
|
|
|
public DateTime LastSeen { get; set; } |
|
|
|
public List<Group> Groups { get; set; } |
|
|
|
public User() |
|
{ |
|
Username = String.Empty; |
|
HashedPassword = String.Empty; |
|
JoinDate = DateTime.Now; |
|
LastSeen = DateTime.Now; |
|
Groups = new List<Group>(); |
|
} |
|
} |
|
} |