SchoolTeacherCourse.cs 931 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using Microsoft.EntityFrameworkCore;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace YBEE.EQM.Core;
  4. /// <summary>
  5. /// 任教科目
  6. /// </summary>
  7. [Comment("任教科目")]
  8. public class SchoolTeacherCourse
  9. {
  10. /// <summary>
  11. /// 机构ID
  12. /// </summary>
  13. [Comment("机构ID")]
  14. [Required]
  15. public short SysOrgId { get; set; }
  16. /// <summary>
  17. /// 学校教师ID
  18. /// </summary>
  19. [Comment("学校教师ID")]
  20. [Required]
  21. public int SchoolTeacherId { get; set; }
  22. /// <summary>
  23. /// 学校班级ID
  24. /// </summary>
  25. [Comment("学校班级ID")]
  26. [Required]
  27. public long SchoolClassId { get; set; }
  28. /// <summary>
  29. /// 科目ID
  30. /// </summary>
  31. [Comment("科目ID")]
  32. [Required]
  33. public short CourseId { get; set; }
  34. /// <summary>
  35. /// 学期ID
  36. /// </summary>
  37. [Comment("学期ID")]
  38. [Required]
  39. public short SemesterId { get; set; }
  40. }