星火微课系统客户端
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

FileDirectoryModel.cs 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using XHWK.Model;
  7. namespace XHWK.WKTool.Models
  8. {
  9. public class FileDirectoryModel : NotifyModel
  10. {
  11. private int _serialNumber;
  12. /// <summary>
  13. /// 序号
  14. /// </summary>
  15. public int SerialNumber
  16. {
  17. get => _serialNumber;
  18. set
  19. {
  20. _serialNumber = value;
  21. OnPropertyChanged("SerialNumber");
  22. }
  23. }
  24. private string _videoName;
  25. /// <summary>
  26. /// 视频名称
  27. /// </summary>
  28. public string VideoName
  29. {
  30. get => _videoName;
  31. set
  32. {
  33. _videoName = value;
  34. OnPropertyChanged("VideoName");
  35. }
  36. }
  37. private int _videoDuration;
  38. /// <summary>
  39. /// 视频时长
  40. /// </summary>
  41. public int VideoDuration
  42. {
  43. get => _videoDuration;
  44. set
  45. {
  46. _videoDuration = value;
  47. OnPropertyChanged("VideoDuration");
  48. }
  49. }
  50. private string _videoSize;
  51. /// <summary>
  52. /// 视频大小
  53. /// </summary>
  54. public string VideoSize
  55. {
  56. get => _videoSize;
  57. set
  58. {
  59. _videoSize = value;
  60. OnPropertyChanged("VideoSize");
  61. }
  62. }
  63. private long _videoSizes;
  64. /// <summary>
  65. /// 视频大小
  66. /// </summary>
  67. public long VideoSizes
  68. {
  69. get => _videoSizes;
  70. set
  71. {
  72. _videoSizes = value;
  73. OnPropertyChanged("VideoSizes");
  74. }
  75. }
  76. private string _videoTime;
  77. /// <summary>
  78. /// 日期
  79. /// </summary>
  80. public string VideoTime
  81. {
  82. get => _videoTime;
  83. set
  84. {
  85. _videoTime = value;
  86. OnPropertyChanged("VideoTime");
  87. }
  88. }
  89. private string _colour;
  90. /// <summary>
  91. /// 颜色
  92. /// </summary>
  93. public string Colour
  94. {
  95. get => _colour;
  96. set
  97. {
  98. _colour = value;
  99. OnPropertyChanged("Colour");
  100. }
  101. }
  102. private bool _isEnabled;
  103. /// <summary>
  104. /// 是否可编辑
  105. /// </summary>
  106. public bool IsEnabled
  107. {
  108. get => _isEnabled;
  109. set
  110. {
  111. _isEnabled = value;
  112. OnPropertyChanged("IsEnabled");
  113. }
  114. }
  115. public string Path { get; set; }
  116. private string _visi;
  117. /// <summary>
  118. /// 显示
  119. /// </summary>
  120. public string Visi
  121. {
  122. get => _visi;
  123. set
  124. {
  125. _visi = value;
  126. OnPropertyChanged("Visi");
  127. }
  128. }
  129. private string _coll;
  130. /// <summary>
  131. /// 显示
  132. /// </summary>
  133. public string Coll
  134. {
  135. get => _coll;
  136. set
  137. {
  138. _coll = value;
  139. OnPropertyChanged("Coll");
  140. }
  141. }
  142. /// <summary>
  143. /// 唯一编号
  144. /// </summary>
  145. public string FileGuid { get; set; }
  146. /// <summary>
  147. /// 视频类型
  148. /// </summary>
  149. public string VideoType { get; set; }
  150. /// <summary>
  151. /// 初始名称
  152. /// </summary>
  153. public string Name { get; set; }
  154. /// <summary>
  155. /// 文件路径
  156. /// </summary>
  157. public string FilePath { get; set; }
  158. }
  159. }