feat 设置档案白名单
This commit is contained in:
@@ -25,13 +25,13 @@ public class GainfoEntity : SugarBaseEntity
|
||||
public string SapNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人员类型
|
||||
/// 员类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "人员类型")]
|
||||
public string Type { get; set; }
|
||||
[SugarColumn(ColumnDescription = "人员类型", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public GainfoUserTypeEnumType? Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 姓名
|
||||
/// 姓名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "姓名")]
|
||||
public string Name { get; set; }
|
||||
|
||||
22
Src/Dlhis.Entity/Basic/Enums/GainfoUserTypeEnumType.cs
Normal file
22
Src/Dlhis.Entity/Basic/Enums/GainfoUserTypeEnumType.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// 档案人员类型
|
||||
/// </summary>
|
||||
[Description("档案人员类型")]
|
||||
public enum GainfoUserTypeEnumType
|
||||
{
|
||||
/// <summary>
|
||||
/// 普通人员
|
||||
/// </summary>
|
||||
[Description("普通人员")]
|
||||
Normal = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 安检白名单
|
||||
/// </summary>
|
||||
[Description("安检白名单")]
|
||||
SecurityWhite = 99
|
||||
}
|
||||
Reference in New Issue
Block a user