package com.usky.sas.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Agbox/Metabus配置表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sas_config")
public class SasConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 秘钥
     */
    private String keyds;

    /**
     * ip地址
     */
    private String host;

    /**
     * ip端口
     */
    private String port;

    /**
     * mqtt用户名
     */
    private String username;

    /**
     * mqtt用户密码
     */
    private String password;

    /**
     * 是否安全传输 true:启用 false:不启用
     */
    private Boolean isTsl;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}

