ExamCourse.cs 642 B

123456789101112131415161718192021222324252627282930
  1. using Microsoft.EntityFrameworkCore;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace YBEE.EQM.Core;
  4. /// <summary>
  5. /// 监测科目
  6. /// </summary>
  7. [Comment("监测科目")]
  8. public class ExamCourse : DEntityBase
  9. {
  10. /// <summary>
  11. /// 监测计划ID
  12. /// </summary>
  13. [Comment("监测计划ID")]
  14. [Required]
  15. public int ExamPlanId { get; set; }
  16. /// <summary>
  17. /// 年级ID
  18. /// </summary>
  19. [Comment("年级ID")]
  20. [Required]
  21. public short GradeId { get; set; }
  22. /// <summary>
  23. /// 科目ID
  24. /// </summary>
  25. [Comment("科目ID")]
  26. [Required]
  27. public short CourseId { get; set; }
  28. }