using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.Repository.Domain
{
    [SugarTable("lasa_gateway")]
    public class LasaGateway
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }
        /// <summary>
        /// 绑定状态
        /// </summary>
        public int BindStatus { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// Did
        /// </summary>
        public string Did { get; set; }
        /// <summary>
        /// 网关编号
        /// </summary>
        public string GatewayAccount { get; set; }
        /// <summary>
        /// 网关sn
        /// </summary>
        public string GatewaySn { get; set; } 
        /// <summary>
        /// 网关地址
        /// </summary>
        public string MqttGateway { get; set; }
        /// <summary>
        /// 网关密码
        /// </summary>
        public string MqttPassword { get; set; }
        /// <summary>
        /// 网关账号
        /// </summary>
        public string MqttUserName { get; set; }
        /// <summary>
        /// 组织id
        /// </summary>
        public string OrgId { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        
    }
}
