The next generation of the Teknik Services. Written in ASP.NET.
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.

User.cs 749B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using Microsoft.AspNet.Identity.EntityFramework;
  4. using System.Collections.Generic;
  5. namespace Teknik.Areas.Profile.Models
  6. {
  7. public class User
  8. {
  9. public int UserId { get; set; }
  10. public string Username { get; set; }
  11. public string HashedPassword { get; set; }
  12. public DateTime JoinDate { get; set; }
  13. public DateTime LastSeen { get; set; }
  14. public List<Group> Groups { get; set; }
  15. public User()
  16. {
  17. Username = String.Empty;
  18. HashedPassword = String.Empty;
  19. JoinDate = DateTime.Now;
  20. LastSeen = DateTime.Now;
  21. Groups = new List<Group>();
  22. }
  23. }
  24. }