package com.sptg.iot.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;

/**
 * @author zwx
 * @create 2020/10/20 9:42
 */
@Setter
@Getter
@TableName(value = "iot_sys_conf")
public class IotSysConf {

    /**
     * 主键
     */
    @TableId(value = "l_id", type = IdType.AUTO)
    private Long id;

    /**
     * 服务器地址
     */
    @TableField(value = "s_host")
    private String host;

    /**
     * 服务器端口号
     */
    @TableField(value = "s_port")
    private String port;

    /**
     * 地址前缀
     */
    @TableField(value = "s_prefix")
    private String prefix;

    /**
     * 应用ID
     */
    @TableField(value = "s_app_id")
    private String appId;

    /**
     * 应用secret
     */
    @TableField(value = "s_app_secret")
    private String appSecret;

}
