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.

UserSettings.cs 888B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Teknik.Areas.Users.Models
  9. {
  10. public class UserSettings
  11. {
  12. [Key]
  13. public int UserId { get; set; }
  14. public virtual User User { get; set; }
  15. public virtual SecuritySettings SecuritySettings { get; set; }
  16. public virtual BlogSettings BlogSettings { get; set; }
  17. public virtual UploadSettings UploadSettings { get; set; }
  18. public string About { get; set; }
  19. public string Website { get; set; }
  20. public string Quote { get; set; }
  21. public UserSettings()
  22. {
  23. About = string.Empty;
  24. Website = string.Empty;
  25. Quote = string.Empty;
  26. }
  27. }
  28. }