forked from rongchao/epmet-cloud-rizhao
9 changed files with 168 additions and 15 deletions
@ -0,0 +1,32 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 根据分类、标签Id集合查询对应数据信息--接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class CategoryTagListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 2599592072265715951L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 分类Id |
|||
*/ |
|||
private List<String> categoryIdList; |
|||
|
|||
/** |
|||
* 标签Id |
|||
*/ |
|||
private List<String> tagIdList; |
|||
|
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.dto.IssueProjectCategoryDictDTO; |
|||
import com.epmet.dto.IssueProjectTagDictDTO; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 根据分类、标签Id集合查询对应数据信息--接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class CategoryTagResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 5957826616179876849L; |
|||
|
|||
/** |
|||
* 分类对象 |
|||
*/ |
|||
private List<IssueProjectCategoryDictDTO> categoryList; |
|||
/** |
|||
* 标签对象 |
|||
*/ |
|||
private List<IssueProjectTagDictDTO> tagList; |
|||
|
|||
} |
|||
@ -0,0 +1,24 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 项目立项-分类、标签信息-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class CategoryOrTagFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 2599592072265715951L; |
|||
/** |
|||
* 分类Id |
|||
*/ |
|||
private String id; |
|||
/** |
|||
* 分类名称 |
|||
*/ |
|||
private String name; |
|||
|
|||
} |
|||
@ -0,0 +1,61 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.Valid; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 项目立项-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class ProjectApprovalFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 4859779755214502427L; |
|||
|
|||
@NotBlank(message = "项目标题不能为空") |
|||
private String title; |
|||
|
|||
@NotBlank(message = "项目背景不能为空") |
|||
@Length(max=1000,message = "项目背景不能超过1000位") |
|||
private String backGround; |
|||
|
|||
@NotBlank(message = "项目方案不能为空") |
|||
@Length(max=1000,message = "项目方案不能超过1000位") |
|||
private String publicReply; |
|||
|
|||
@Length(max=1000,message = "内部备注不能超过1000位") |
|||
private String internalRemark; |
|||
|
|||
/** |
|||
* 吹哨勾选的工作人员信息集合,不可为空 |
|||
*/ |
|||
@Valid |
|||
private List<TickStaffFormDTO> staffList; |
|||
/** |
|||
* 公开答复对应文件集合 |
|||
*/ |
|||
private List<FileDTO> publicFile; |
|||
/** |
|||
* 内部备注对应文件集合 |
|||
*/ |
|||
private List<FileDTO> internalFile; |
|||
/** |
|||
* 项目所选分类集合,不可为空 |
|||
*/ |
|||
@Valid |
|||
private List<CategoryOrTagFormDTO> categoryList; |
|||
/** |
|||
* 项目所选标签集合 |
|||
*/ |
|||
private List<CategoryOrTagFormDTO> tagList; |
|||
|
|||
private String customerId; |
|||
private String app; |
|||
private String client; |
|||
private String userId; |
|||
} |
|||
|
|||
Loading…
Reference in new issue