72 lines
1.4 KiB
Java
72 lines
1.4 KiB
Java
package com.arpa.hndahesudintocctmsdriver.bean;
|
|
|
|
import com.github.gzuliyujiang.wheelview.contract.TextProvider;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @ClassName DicBean
|
|
* @Author 用户
|
|
* @Date 2022/4/24 9:31
|
|
* @Description TODO
|
|
*/
|
|
public class DicBean implements Serializable {
|
|
private int code;
|
|
private ArrayList<DataDTO> data;
|
|
|
|
public int getCode() {
|
|
return code;
|
|
}
|
|
|
|
public void setCode(int code) {
|
|
this.code = code;
|
|
}
|
|
|
|
public ArrayList<DataDTO> getData() {
|
|
return data;
|
|
}
|
|
|
|
public void setData(ArrayList<DataDTO> data) {
|
|
this.data = data;
|
|
}
|
|
|
|
public static class DataDTO implements TextProvider {
|
|
private String name;
|
|
private String type;
|
|
private String value;
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
|
|
public void setValue(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
@Override
|
|
public String provideText() {
|
|
return name;
|
|
}
|
|
}
|
|
|
|
|
|
}
|