mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Add demo
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace TestDemo.Entitys
|
||||
{
|
||||
[SugarTable("credit_confirm_level")]
|
||||
public class PersonCreditLevel
|
||||
{
|
||||
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证号码
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "id_card")]
|
||||
public string IdCard { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 信用等级
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "level")]
|
||||
public int Level { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user