The next generation of the Teknik Services. Written in ASP.NET. Fork for blog tags.
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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 DateTime DatePosted { get; set; }
  17. [CaseSensitive]
  18. public string Url { get; set; }
  19. public string Content { get; set; }
  20. public string Title { get; set; }
  21. public string Syntax { get; set; }
  22. public DateTime? ExpireDate { get; set; }
  23. [CaseSensitive]
  24. public string HashedPassword { get; set; }
  25. [CaseSensitive]
  26. public string Key { get; set; }
  27. public int KeySize { get; set; }
  28. [CaseSensitive]
  29. public string IV { get; set; }
  30. public int BlockSize { get; set; }
  31. public bool Hide { get; set; }
  32. public int MaxViews { get; set; }
  33. public int Views { get; set; }
  34. public virtual ICollection<TransferType> Transfers { get; set; }
  35. }
  36. }