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.

Paste.cs 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Teknik.Areas.Users.Models;
  7. using Teknik.Attributes;
  8. using Teknik.Models;
  9. namespace Teknik.Areas.Paste.Models
  10. {
  11. public class Paste
  12. {
  13. public int PasteId { get; set; }
  14. public int? UserId { get; set; }
  15. public virtual User User { get; set; }
  16. public virtual ICollection<Vault.Models.PasteVaultItem> PasteVaultItems { get; set; }
  17. public DateTime DatePosted { get; set; }
  18. public DateTime DateEdited { get; set; }
  19. [CaseSensitive]
  20. public string Url { get; set; }
  21. [CaseSensitive]
  22. public string FileName { get; set; }
  23. public string Content { get; set; }
  24. public string Title { get; set; }
  25. public string Syntax { get; set; }
  26. public DateTime? ExpireDate { get; set; }
  27. [CaseSensitive]
  28. public string HashedPassword { get; set; }
  29. [CaseSensitive]
  30. public string Key { get; set; }
  31. public int KeySize { get; set; }
  32. [CaseSensitive]
  33. public string IV { get; set; }
  34. public int BlockSize { get; set; }
  35. [CaseSensitive]
  36. public string DeleteKey { get; set; }
  37. public int MaxViews { get; set; }
  38. public int Views { get; set; }
  39. }
  40. }