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.

User.cs 984B

12345678910111213141516171819202122232425262728293031323334353637383940
  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 string About { get; set; }
  16. public string Website { get; set; }
  17. public string Quote { get; set; }
  18. public User()
  19. {
  20. Username = String.Empty;
  21. HashedPassword = String.Empty;
  22. JoinDate = DateTime.Now;
  23. LastSeen = DateTime.Now;
  24. Groups = new List<Group>();
  25. About = string.Empty;
  26. Website = string.Empty;
  27. Quote = string.Empty;
  28. }
  29. }
  30. }