7 changed files with 147 additions and 9 deletions
@ -0,0 +1,22 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 分类列表查询-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class CustomerCategoryListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 2599592072265715951L; |
|||
@NotBlank(message = "客户ID不能为空",groups = {CustomerCategoryListFormDTO.Category.class}) |
|||
private String customerId; |
|||
|
|||
public interface Category{} |
|||
|
|||
|
|||
} |
@ -0,0 +1,31 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 获取议题的分类、标签列表-接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class CustomerCategoryListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 5957826616179876849L; |
|||
|
|||
/** |
|||
* 分类Id |
|||
*/ |
|||
private String id; |
|||
/** |
|||
* 分类名称 |
|||
*/ |
|||
private String name; |
|||
|
|||
/** |
|||
* 子级分类对象 |
|||
*/ |
|||
private List<CustomerCategoryListResultDTO> subCategory; |
|||
|
|||
} |
Loading…
Reference in new issue