Merge pull request #863 from leoskey/SqlSugar5

修复 README.md 示例代码缺少括号
This commit is contained in:
果糖网
2021-01-06 16:37:42 +08:00
committed by GitHub

View File

@@ -72,7 +72,7 @@ private SqlSugarClient GetInstance()
public class Student
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
public int? SchoolId { get; set; }
public string Name { get; set; }