fix 逻辑删除增加,消息通知

This commit is contained in:
2025-03-06 16:49:02 +08:00
parent 7e71884b32
commit bf392a7c46
16 changed files with 170 additions and 28 deletions

View File

@@ -1,3 +1,4 @@
using Kurisu.AspNetCore.DataAccess.Entity;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using Mapster;
using SqlSugar;
@@ -7,8 +8,8 @@ namespace Dlhis.Entity.Basic.Entity;
/// <summary>
/// 工作网格
/// </summary>
[SugarTable(TableName = "WorkGrid")]
public class WorkGridEntity : SugarBaseEntity
[SugarTable(TableName = "WorkGrids")]
public class WorkGridEntity : SugarBaseEntity, ISoftDeleted
{
/// <summary>
/// 网格code
@@ -35,4 +36,7 @@ public class WorkGridEntity : SugarBaseEntity
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "备注")]
public string Remark { get; set; }
public bool IsDeleted { get; set; }
}