mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Add demo
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace TestDemo.Entitys
|
||||
{
|
||||
[SugarTable("person_job_title")]
|
||||
public class PersonJobTitle
|
||||
{
|
||||
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人员Id
|
||||
/// </summary>
|
||||
|
||||
[SugarColumn(ColumnName = "person_id")]
|
||||
public int PersonId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 证书编号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "cert_no")]
|
||||
public string CertNo { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user