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;
|
}
|
|
}
|