修复了一些问题

This commit is contained in:
2025-07-15 11:03:33 +08:00
parent 395f154135
commit e3730eccb4
5 changed files with 13 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ public class DbMqtt
/// <summary>
/// MQTT客户端登录密码。
/// </summary>
[SugarColumn(IsIgnore = true)]
[SugarColumn(IsNullable = true)]
public string PassWord { get; set; } = String.Empty;
/// <summary>
@@ -66,25 +66,25 @@ public class DbMqtt
/// <summary>
/// MQTT发布主题。
/// </summary>
[SugarColumn(IsIgnore = true)]
[SugarColumn(IsNullable = true)]
public string PublishTopic { get; set; } = String.Empty;
/// <summary>
/// MQTT备注。
/// </summary>
[SugarColumn(IsIgnore = true)]
[SugarColumn(IsNullable = true)]
public string Remark { get; set; } = String.Empty;
/// <summary>
/// MQTT订阅主题。
/// </summary>
[SugarColumn(IsIgnore = true)]
public string SubTopics { get; set; } = String.Empty;
[SugarColumn(IsNullable = true)]
public string SubTopic { get; set; } = String.Empty;
/// <summary>
/// MQTT客户端登录用户名。
/// </summary>
[SugarColumn(IsIgnore = true)]
[SugarColumn(IsNullable = true)]
public string UserName { get; set; } = String.Empty;
/// <summary>