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.

22 lines
524 B

2 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace OrmTest.Models
  6. {
  7. public enum SchoolEnum
  8. {
  9. HarvardUniversity = 0,
  10. UniversityOfOxford = 1
  11. }
  12. public class StudentEnum
  13. {
  14. public int Id { get; set; }
  15. public SchoolEnum SchoolId { get; set; }
  16. public string Name { get; set; }
  17. public DateTime? CreateTime { get; set; }
  18. [SqlSugar.SugarColumn(IsIgnore =true)]
  19. public int TestId { get; set; }
  20. }
  21. }