MasstransferExporter/MasstransferCommon/Model/Entity/MqttParams.cs

19 lines
551 B
C#

using System.ComponentModel;
using SQLite;
namespace MasstransferCommon.Model.Entity;
[Table("mqtt_params"), Description("Mqtt连接参数")]
public class MqttParams : Entity
{
[Column("server_address"), Description("服务器地址")]
public string ServerAddress { get; set; }
[Column("port"), Description("端口")] public int Port { get; set; }
[Column("user_name"), Description("用户名")]
public string UserName { get; set; }
[Column("password"), Description("密码")]
public string Password { get; set; }
}