wjc
2025-04-01 31e89a8697d049410c9d8d5c333cba33223bc9dc
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
package com.hdl.sdk.link.bean;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
import androidx.annotation.NonNull;
 
/**
 * Created by Zoro
 * Created on 2023/6/30
 * description:
 */
public class LinkGroupControlCreateBean implements Serializable {
    private String sid;
    private String name;
    private String type;
    private List<String> uids = new ArrayList<>();
    private List<LinkSidSpkBean> sids = new ArrayList<>();
    /**
     * "${已完成数}/${总数}"
     */
    private String progress;
    /**
     * 1:配置中
     * 2:配置失败
     * 3:配置成功
     * 4:部分成功
     */
    private int state;
    /**
     * 用户开关记录 可以控制  默认off是关  on是开
     */
    private String onoff;
 
    public LinkGroupControlCreateBean() {
    }
 
    public String getOnoff() {
        return onoff == null ? "" : onoff;
    }
 
    public void setOnoff(@NonNull String onoff) {
        this.onoff = onoff;
    }
 
    public String getSid() {
        return sid == null ? "" : sid;
    }
 
    public void setSid(@NonNull String sid) {
        this.sid = sid;
    }
 
    public String getName() {
        return name == null ? "" : name;
    }
 
    public void setName(@NonNull String name) {
        this.name = name;
    }
 
    public String getType() {
        return type == null ? "" : type;
    }
 
    public void setType(@NonNull String type) {
        this.type = type;
    }
 
    public List<String> getUids() {
        if (uids == null) {
            return uids = new ArrayList<>();
        }
        return uids;
    }
 
    public int getState() {
        return state;
    }
 
    public void setState(@NonNull int state) {
        this.state = state;
    }
 
    public void setUids(@NonNull List<String> uids) {
        this.uids = uids;
    }
 
    public List<LinkSidSpkBean> getSids() {
        if (sids == null) {
            return sids = new ArrayList<>();
        }
        return sids;
    }
 
    public String getProgress() {
        return progress == null ? "" : progress;
    }
 
    public void setProgress(@NonNull String progress) {
        this.progress = progress;
    }
 
    public void setSids(@NonNull List<LinkSidSpkBean> sids) {
        this.sids = sids;
    }
 
    public LinkGroupControlCreateBean(String name, String type) {
        this.name = name;
        this.type = type;
    }
 
}