leutu
2024-06-03 3ef35e6cd16bbfa206b26bb3271eac40ad020bcb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package com.fastbee.iot.model;
 
/**
 * 动作
 * @author kerwincui
 * @date 2021-12-16
 */
public class MqttAuthenticationModel
{
    /** Mqtt客户端ID */
    String clientId;
 
    /** Mqtt用户名 */
    String userName;
 
    /** Mqtt密码 */
    String password;
 
    /** 设备编号 */
    String deviceNumber;
 
    /** 产品ID */
    Long productId;
 
    /** 设备关联的用户ID */
    Long userId;
 
    public MqttAuthenticationModel(String clientid,String username,String password,String deviceNumber ,Long productId,Long userId){
        this.clientId=clientid;
        this.userName=username;
        this.password=password;
        this.deviceNumber=deviceNumber;
        this.productId=productId;
        this.userId=userId;
    }
    public MqttAuthenticationModel(String clientid,String username,String password){
        this.clientId=clientid;
        this.userName=username;
        this.password=password;
    }
 
    public String getClientId() {
        return clientId;
    }
 
    public void setClientId(String clientId) {
        this.clientId = clientId;
    }
 
    public String getUserName() {
        return userName;
    }
 
    public void setUserName(String userName) {
        this.userName = userName;
    }
 
    public String getPassword() {
        return password;
    }
 
    public void setPassword(String password) {
        this.password = password;
    }
 
    public String getDeviceNumber() {
        return deviceNumber;
    }
 
    public void setDeviceNumber(String deviceNumber) {
        this.deviceNumber = deviceNumber;
    }
 
    public Long getProductId() {
        return productId;
    }
 
    public void setProductId(Long productId) {
        this.productId = productId;
    }
 
    public Long getUserId() {
        return userId;
    }
 
    public void setUserId(Long userId) {
        this.userId = userId;
    }
}