23 lines
737 B
C#
23 lines
737 B
C#
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity;
|
|
|
|
/// <summary>
|
|
/// 档案二维码
|
|
/// </summary>
|
|
[SugarTable(TableName = "GainfoQrCode", TableDescription = "档案二维码")]
|
|
public class GainfoQrCodeEntity : SugarBaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 工号
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "工号", UniqueGroupNameList = new[] { "unique_GainfoQrCode_UserCode" })]
|
|
public string UserCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 二维码
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "二维码", UniqueGroupNameList = new[] { "unique_GainfoQrCode_QrCode" })]
|
|
public string QrCode { get; set; }
|
|
} |