forked from luyan/epmet-cloud-lingshan
				
			
				 10 changed files with 177 additions and 4 deletions
			
			
		@ -0,0 +1,21 @@ | 
				
			|||||
 | 
					package com.epmet.dto.form; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import javax.validation.constraints.NotBlank; | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * 获取议题的分类、标签列表-接口入参 | 
				
			||||
 | 
					 * @Author sun | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class CategoryTagListFormDTO implements Serializable { | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    private static final long serialVersionUID = 2599592072265715951L; | 
				
			||||
 | 
					    @NotBlank(message = "议题ID不能为空",groups = {CategoryTagListFormDTO.CategoryTag.class}) | 
				
			||||
 | 
					    private String issueId; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    public interface CategoryTag{} | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,27 @@ | 
				
			|||||
 | 
					package com.epmet.dto.result; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					import java.util.ArrayList; | 
				
			||||
 | 
					import java.util.List; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * @Description 获取议题的分类、标签列表-接口返参 | 
				
			||||
 | 
					 * @Author sun | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class CategoryTagListResultDTO implements Serializable { | 
				
			||||
 | 
					
 | 
				
			||||
 | 
						private static final long serialVersionUID = 5957826616179876849L; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
						/** | 
				
			||||
 | 
						 * 类别集合 | 
				
			||||
 | 
						 */ | 
				
			||||
 | 
						private List<CategoryTagResultDTO> categoryList = new ArrayList<>(); | 
				
			||||
 | 
						/** | 
				
			||||
 | 
						 * 标签集合 | 
				
			||||
 | 
						 */ | 
				
			||||
 | 
						private List<CategoryTagResultDTO> tagList = new ArrayList<>(); | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,25 @@ | 
				
			|||||
 | 
					package com.epmet.dto.result; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * @Description 获取议题的分类、标签列表-接口返参 | 
				
			||||
 | 
					 * @Author sun | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class CategoryTagResultDTO implements Serializable { | 
				
			||||
 | 
					
 | 
				
			||||
 | 
						private static final long serialVersionUID = 5957826616179876849L; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
						/** | 
				
			||||
 | 
						 * 分类或标签Id | 
				
			||||
 | 
						 */ | 
				
			||||
 | 
						private String id; | 
				
			||||
 | 
						/** | 
				
			||||
 | 
						 * 分类或标签名称 | 
				
			||||
 | 
						 */ | 
				
			||||
 | 
						private String name; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue