This commit is contained in:
sunkaixuan
2017-05-28 09:15:34 +08:00
parent 2f5af83189
commit 138ea91bba
34 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest.Models
{
public class School
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
public string Name { get; set; }
public virtual List<Student> Students { get; set; }
}
}