重构了代码

This commit is contained in:
2025-07-02 22:07:16 +08:00
parent 31f6cf64f4
commit b6519ae0b1
16 changed files with 326 additions and 294 deletions

View File

@@ -18,8 +18,8 @@ public class DbVariableTable
[SugarColumn(ColumnDataType = "varchar(20)", SqlParameterDbType = typeof(EnumToStringConvert))]
public ProtocolType ProtocolType { get; set; }
[Navigate(NavigateType.OneToMany, nameof(DbDataVariable.VariableTableId))]
public List<DbDataVariable>? DataVariables { get; set; }
[Navigate(NavigateType.OneToMany, nameof(DbVariableData.VariableTableId))]
public List<DbVariableData>? DataVariables { get; set; }
[SugarColumn(IsNullable = true)] public int? DeviceId { get; set; }