6 changed files with 112 additions and 15 deletions
@ -0,0 +1,36 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 议题:保存/修改分类-接口入参 |
||||
|
* @Author sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class IsDisableCategoryFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 2599592072265715951L; |
||||
|
public interface IsDisableCategory{} |
||||
|
/** |
||||
|
* 客户Id |
||||
|
*/ |
||||
|
@NotBlank(message = "客户ID不能为空",groups = {IsDisableCategory.class}) |
||||
|
private String customerId; |
||||
|
/** |
||||
|
* 分类Id |
||||
|
*/ |
||||
|
@NotBlank(message = "分类ID不能为空",groups = {IsDisableCategory.class}) |
||||
|
private String categoryId; |
||||
|
/** |
||||
|
* 操作类型(启用:enable 禁用:disable) |
||||
|
*/ |
||||
|
@NotBlank(message = "是否启用类型不能为空",groups = {IsDisableCategory.class}) |
||||
|
private String type; |
||||
|
|
||||
|
private List<String> categoryList; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue