1.设备出厂时生成mqtt连接信息
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
package com.njcn.csdevice.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author xuyang
|
||||
* @since 2023-06-29
|
||||
*/
|
||||
@Data
|
||||
@TableName("mqtt_user")
|
||||
public class MqttUser {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.INPUT)
|
||||
private Integer id;
|
||||
|
||||
private String username;
|
||||
|
||||
private String password;
|
||||
|
||||
private String salt;
|
||||
|
||||
private Integer isSuperuser;
|
||||
|
||||
private LocalDateTime created;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user