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; } /// /// 身份证号码 /// [SugarColumn(ColumnName = "id_card")] public string IdCard { get; set; } /// /// 信用等级 /// [SugarColumn(ColumnName = "level")] public int Level { get; set; } } }