12 changed files with 209 additions and 17 deletions
@ -0,0 +1,33 @@ |
|||
package com.elink.esua.epdc.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 模块分类接口参数 |
|||
* |
|||
* @author songyunpeng |
|||
* @since v1.0.0 2020-05-20 |
|||
*/ |
|||
@Data |
|||
public class ModuleCategoryFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 2379520294973498819L; |
|||
|
|||
/** |
|||
* 页码 |
|||
*/ |
|||
@Min(value = 1, message = "页码必须大于0") |
|||
private Integer pageIndex; |
|||
|
|||
/** |
|||
* 页容量 |
|||
*/ |
|||
@Min(value = 1, message = "页容量必须大于0") |
|||
private Integer pageSize; |
|||
|
|||
@NotBlank(message = "PID不能为空") |
|||
private String pid; |
|||
} |
@ -0,0 +1,67 @@ |
|||
package com.elink.esua.epdc.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 模块分类接口结果 |
|||
* |
|||
* @author songyunpeng |
|||
* @since v1.0.0 2020-05-20 |
|||
*/ |
|||
@Data |
|||
public class ModuleCategoryResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 2379520294973498819L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 上级ID |
|||
*/ |
|||
private String pid; |
|||
|
|||
/** |
|||
* 模块类别编码 |
|||
*/ |
|||
private String categoryCode; |
|||
|
|||
/** |
|||
* 模块类别名称 |
|||
*/ |
|||
private String categoryName; |
|||
|
|||
/** |
|||
* 模块类别 |
|||
*/ |
|||
private String categoryType; |
|||
|
|||
/** |
|||
* 模块类别图片 |
|||
*/ |
|||
private String imgUrl; |
|||
|
|||
/** |
|||
* 模块样式 |
|||
*/ |
|||
private String moduleStyle; |
|||
|
|||
/** |
|||
* 是否有BANNER 0-否,1-是 |
|||
*/ |
|||
private String bannerFlag; |
|||
|
|||
/** |
|||
* 备注 |
|||
*/ |
|||
private String remark; |
|||
|
|||
/** |
|||
* 排序 |
|||
*/ |
|||
private Integer sort; |
|||
|
|||
} |
Loading…
Reference in new issue