The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Upload.cs 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Teknik.Areas.Users.Models;
  6. using Teknik.Attributes;
  7. namespace Teknik.Areas.Upload.Models
  8. {
  9. public class Upload
  10. {
  11. public int UploadId { get; set; }
  12. public int? UserId { get; set; }
  13. public virtual User User { get; set; }
  14. public virtual ICollection<Vault.Models.UploadVaultItem> UploadVaultItems { get; set; }
  15. public DateTime DateUploaded { get; set; }
  16. [CaseSensitive]
  17. public string Url { get; set; }
  18. [CaseSensitive]
  19. public string FileName { get; set; }
  20. public long ContentLength { get; set; }
  21. public string ContentType { get; set; }
  22. [CaseSensitive]
  23. public string Key { get; set; }
  24. [CaseSensitive]
  25. public string IV { get; set; }
  26. public int KeySize { get; set; }
  27. public int BlockSize { get; set; }
  28. [CaseSensitive]
  29. public string DeleteKey { get; set; }
  30. public DateTime? ExpireDate { get; set; }
  31. public int MaxDownloads { get; set; }
  32. public int Downloads { get; set; }
  33. }
  34. }