forked from rongchao/epmet-cloud-rizhao
11 changed files with 342 additions and 63 deletions
@ -0,0 +1,28 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 发布指南、编辑指南、查询指南列表 分类下拉框 |
|||
* @Author yinzuomei |
|||
* @Date 2021/9/8 2:57 下午 |
|||
*/ |
|||
@Data |
|||
public class GuideCategoryDropDownFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 9122708701080412461L; |
|||
public interface AddUserInternalGroup { |
|||
} |
|||
/** |
|||
* 新增指南:saveorupdate;查询指南列表:query |
|||
*/ |
|||
@NotBlank(message = "新增指南:saveorupdate;查询指南列表:query",groups = AddUserInternalGroup.class) |
|||
private String queryOrigin; |
|||
|
|||
@NotBlank(message = "当前工作人员所属客户id不能为空",groups = AddUserInternalGroup.class) |
|||
private String customerId; |
|||
|
|||
} |
|||
|
@ -0,0 +1,21 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 工作端PC或者运营端分页 |
|||
* @Author yinzuomei |
|||
* @Date 2021/9/8 1:35 下午 |
|||
*/ |
|||
@Data |
|||
public class GuideCategoryPageFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -7551388716349439643L; |
|||
public interface AddUserInternalGroup { |
|||
} |
|||
@NotBlank(message = "客户id不能为空,运营端传default", groups = AddUserInternalGroup.class) |
|||
private String customerId; |
|||
} |
|||
|
@ -0,0 +1,36 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 办事指南】可用分类列表 新增、编辑指南时的下拉框:展示未禁用的分类; 查询指南列表:如果禁用的分类下存在指南列表,则展示,不存在直接不展示 |
|||
* @Author yinzuomei |
|||
* @Date 2021/9/8 2:44 下午 |
|||
*/ |
|||
@Data |
|||
public class GuideDictResDTO implements Serializable { |
|||
|
|||
/** |
|||
* 分类名,客户内唯一 |
|||
*/ |
|||
private String categoryName; |
|||
|
|||
/** |
|||
* 分类编码:分类名的全拼; eg:gongjijin |
|||
*/ |
|||
private String categoryCode; |
|||
|
|||
/** |
|||
* 排序 |
|||
*/ |
|||
private Integer sort; |
|||
|
|||
/** |
|||
* 状态 禁用disable 启用enable |
|||
*/ |
|||
private String status; |
|||
} |
|||
|
|||
|
Loading…
Reference in new issue