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.

25 lines
593 B

10 years ago
  1. using Microsoft.AspNet.Identity.EntityFramework;
  2. using System;
  3. namespace Sevomin.Models
  4. {
  5. public class User : IdentityUser
  6. {
  7. public User()
  8. {
  9. }
  10. public User(string userName)
  11. {
  12. this.UserName = userName;
  13. }
  14. public string DisplayName { get; set; }
  15. public DateTime SignUpDate { get; set; }
  16. public string ConfirmationCode { get; set; }
  17. public static string GetConfirmationCode()
  18. {
  19. return ShortGuid.NewShortGuid().Value;
  20. }
  21. }
  22. }