星火微课系统客户端
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.

FileDirectoryModel.cs 3.6KB

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