| | |
| | | /**标签分类名称*/ |
| | | private String name; |
| | | |
| | | /**选择值数量,不填无限制*/ |
| | | private Integer selectValue; |
| | | /**可自定义标签:0否1是*/ |
| | | private Integer customRule; |
| | | |
| | | /**标签集合*/ |
| | | private List<LabelVo> labelList; |
| | | /**子类*/ |
| | |
| | | public LabelTypeVo() { |
| | | } |
| | | |
| | | public LabelTypeVo(String id, String name) { |
| | | public LabelTypeVo(String id, String name,Integer selectValue,Integer customRule) { |
| | | this.id = id; |
| | | this.name = name; |
| | | this.selectValue = selectValue; |
| | | this.customRule = customRule; |
| | | } |
| | | } |
| | |
| | | @Data |
| | | public class LabelVo { |
| | | |
| | | /**标签标识*/ |
| | | /**用户标签标识*/ |
| | | private String id; |
| | | /**标签标识*/ |
| | | private String labelId; |
| | | /**标签名称*/ |
| | | private String name; |
| | | /**是否自定义标签:0否1是*/ |
| | |
| | | this.name = name; |
| | | } |
| | | |
| | | public LabelVo(String id, String name, Integer isCustom) { |
| | | public LabelVo(String id,String labelId, String name, Integer isCustom) { |
| | | this.id = id; |
| | | this.labelId = labelId; |
| | | this.name = name; |
| | | this.isCustom = isCustom; |
| | | } |