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.

UploadSettings.cs 750B

1234567891011121314151617181920212223242526272829303132
  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.Profile.Models
  9. {
  10. public class UploadSettings
  11. {
  12. [Key]
  13. public int UserId { get; set; }
  14. public bool SaveKey { get; set; }
  15. public bool ServerSideEncrypt { get; set; }
  16. public virtual User User { get; set; }
  17. public virtual BlogSettings BlogSettings { get; set; }
  18. public virtual UserSettings UserSettings { get; set; }
  19. public UploadSettings()
  20. {
  21. SaveKey = false;
  22. ServerSideEncrypt = false;
  23. }
  24. }
  25. }