Files
ThingsGateway/src/Admin/ThingsGateway.SqlSugar/Sugar/Entities/EntityInfo.cs
Diego c80e57a4e8 build: 10.8.24
fix: 变量离线后再次上线,如果值不变,会导致在线状态不刷新
fix: s7离线恢复时,可能触发多次协议握手导致异常
2025-06-25 11:17:04 +08:00

18 lines
721 B
C#

namespace ThingsGateway.SqlSugar
{
public class EntityInfo
{
private string _DbTableName;
public string EntityName { get; set; }
public string DbTableName { get { return _DbTableName == null ? EntityName : _DbTableName; } set { _DbTableName = value; } }
public string TableDescription { get; set; }
public Type Type { get; set; }
public List<EntityColumnInfo> Columns { get; set; }
public bool IsDisabledDelete { get; set; }
public bool IsDisabledUpdateAll { get; set; }
public List<SugarIndexAttribute> Indexs { get; set; }
public bool IsCreateTableFieldSort { get; set; }
public string Discrimator { get; set; }
}
}