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.
23 lines
524 B
23 lines
524 B
7 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace OrmTest.Models
|
||
|
{
|
||
|
public enum SchoolEnum
|
||
|
{
|
||
|
HarvardUniversity = 0,
|
||
|
UniversityOfOxford = 1
|
||
|
}
|
||
|
public class StudentEnum
|
||
|
{
|
||
|
public int Id { get; set; }
|
||
|
public SchoolEnum SchoolId { get; set; }
|
||
|
public string Name { get; set; }
|
||
|
public DateTime? CreateTime { get; set; }
|
||
|
[SqlSugar.SugarColumn(IsIgnore =true)]
|
||
|
public int TestId { get; set; }
|
||
|
}
|
||
|
}
|