Bloblog.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace TEAMModelOS.SDK.Models
  5. {
  6. /// <summary>
  7. /// 内容上传记录
  8. /// </summary>
  9. public class Bloblog :CosmosEntity
  10. {
  11. public string name { get; set; }
  12. public string url { get; set; }
  13. public long time { get; set; }
  14. public string hash { get; set; }
  15. public long size { get; set; }
  16. public List<string> periodId { get; set; } = new List<string>() { "" };
  17. public List<string> subjectId { get; set; } = new List<string>() { "" };
  18. public List<string> gradeId { get; set; } = new List<string>() { "" };
  19. /// <summary>
  20. /// audio 音频,video 视频 ,doc文档,image图片,other 其他,res教材,thum缩略图,avatar 头像,课堂记录records
  21. /// </summary>
  22. public string type { get; set; }
  23. public string ext { get; set; }
  24. }
  25. public class BlobFile : CosmosEntity
  26. {
  27. /// <summary>
  28. /// id为文件的hash值
  29. /// </summary>
  30. /// <summary>
  31. /// paths 文件的路径。
  32. /// </summary>
  33. public HashSet<string> paths { get; set; } = new HashSet<string>();
  34. public long time { get; set; }
  35. public long size { get; set; }
  36. /// <summary>
  37. /// standard 研修平台, 内容 content,
  38. /// </summary>
  39. public string source { get; set; }
  40. }
  41. }