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. }
  24. public class BlobFile : CosmosEntity
  25. {
  26. /// <summary>
  27. /// id为文件的hash值
  28. /// </summary>
  29. /// <summary>
  30. /// paths 文件的路径。
  31. /// </summary>
  32. public HashSet<string> paths { get; set; } = new HashSet<string>();
  33. public long time { get; set; }
  34. public long size { get; set; }
  35. /// <summary>
  36. /// standard 研修平台, 内容 content,
  37. /// </summary>
  38. public string source { get; set; }
  39. }
  40. }