CourseNoticeReminds.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Flyinsono.DBCopy.Tool.Entities
  7. {
  8. internal class CourseNoticeReminds
  9. {
  10. public string Id { get; private set; }
  11. public DateTime CreateTime { get; set; } = DateTime.MinValue;
  12. public DateTime UpdateTime { get; set; } = DateTime.MinValue;
  13. public bool IsDeleted { get; set; }
  14. /// <summary>
  15. /// Gets or sets the CourseId of this notice
  16. /// </summary>
  17. public string CourseId { get; set; }
  18. /// <summary>
  19. /// Gets or sets the UserId of this notice
  20. /// </summary>
  21. public string UserId { get; set; }
  22. /// <summary>
  23. /// Gets or sets the NoticeType of this notice
  24. /// </summary>
  25. public CourseNoticeType NoticeType { get; set; }
  26. /// <summary>
  27. /// Gets or sets the sign of whether this notice has been completed.
  28. /// </summary>
  29. public bool Completed { get; set; }
  30. }
  31. /// <summary>
  32. /// 课程通知类型
  33. /// </summary>
  34. public enum CourseNoticeType
  35. {
  36. /// <summary>即将开课</summary>
  37. BeginSoon,
  38. /// <summary>进入课程</summary>
  39. EnterCourse
  40. }
  41. /// <summary>
  42. }