fix 逻辑删除增加,消息通知
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
@@ -7,7 +8,7 @@ namespace Dlhis.Entity.Basic.Entity;
|
||||
/// 网格人员
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "WorkGridUsers")]
|
||||
public class WorkGridUserEntity : SugarBaseEntity
|
||||
public class WorkGridUserEntity : SugarBaseEntity, ISoftDeleted
|
||||
{
|
||||
/// <summary>
|
||||
/// 网格code
|
||||
@@ -18,6 +19,9 @@ public class WorkGridUserEntity : SugarBaseEntity
|
||||
/// <summary>
|
||||
/// 网格人员
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "网格人员", UniqueGroupNameList = new[] { "idx_WorkGridUsers_userCode" })]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "网格人员", IndexGroupNameList = new[] { "idx_WorkGridUsers_userCode" })]
|
||||
public string UserCode { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsDeleted { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user