using SqlSugar; using System.ComponentModel.DataAnnotations.Schema; namespace TestDemo.Entitys { [SugarTable("person_reginfo")] public class PersonReginfo { [SugarColumn(ColumnName = "id", IsPrimaryKey = true)] public int Id { get; set; } /// /// 人员Id /// [SugarColumn(ColumnName = "person_id")] public int PersonId { get; set; } /// /// 注册证书编号 /// [SugarColumn(ColumnName = "cert_num")] public string CertNum { get; set; } } }