34 lines
961 B
C#
34 lines
961 B
C#
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity
|
|
{
|
|
/// <summary>
|
|
/// 档案人脸信息
|
|
/// </summary>
|
|
[SkipScan]
|
|
[SugarTable(TableName = "GainfoFace", TableDescription = "档案人脸信息")]
|
|
public class GainfoFaceEntity : SugarBaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 学工号
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, UniqueGroupNameList = new[] { "idx_GainfoFace_UserCode" })]
|
|
public string UserCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 人脸
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "longtext", IsNullable = false)]
|
|
public string Face { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 是否同步
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDataType = "bit")]
|
|
public bool IsSync { get; set; }
|
|
}
|
|
} |