|
@@ -4,8 +4,10 @@ import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
+import java.util.List;
|
|
|
|
|
|
@TableName(value = "control_param", autoResultMap = true)
|
|
|
public class ControlParam implements Serializable {
|
|
@@ -24,6 +26,9 @@ public class ControlParam implements Serializable {
|
|
|
|
|
|
private ValueType type;
|
|
|
|
|
|
+ @TableField(typeHandler = JacksonTypeHandler.class)
|
|
|
+ private List<String> values;
|
|
|
+
|
|
|
public Long getId() {
|
|
|
return id;
|
|
|
}
|
|
@@ -63,4 +68,12 @@ public class ControlParam implements Serializable {
|
|
|
public void setType(ValueType type) {
|
|
|
this.type = type;
|
|
|
}
|
|
|
+
|
|
|
+ public List<String> getValues() {
|
|
|
+ return values;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setValues(List<String> values) {
|
|
|
+ this.values = values;
|
|
|
+ }
|
|
|
}
|