Browse Source
# Conflicts: # epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/IcEventController.java # epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/IcEventService.java # epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/IcEventServiceImpl.javamaster
15 changed files with 474 additions and 20 deletions
@ -0,0 +1,110 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
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; |
||||
|
|
||||
|
/** |
||||
|
* 事件管理-立项 |
||||
|
* |
||||
|
* @author sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class IcEventToProjectFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 3392008990676159012L; |
||||
|
|
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
|
||||
|
public interface ApprovalCategory extends CustomerClientShowGroup { |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 事件id |
||||
|
*/ |
||||
|
@NotBlank(message = "事件id不能为空", groups = AddUserInternalGroup.class) |
||||
|
private String icEventId; |
||||
|
/** |
||||
|
* 项目方案 1000 |
||||
|
*/ |
||||
|
@Length(min = 1, max = 1000, message = "项目方案1000字", groups = {ApprovalCategory.class}) |
||||
|
private String publicReply; |
||||
|
/** |
||||
|
* 内部备注 1000 |
||||
|
* 21.08.09 直接立项的内部备注是必填的,然后议题转项目和我要直报转项目的都是非必填的 |
||||
|
*/ |
||||
|
//@Length(min = 1, max = 1000, message = "内部备注1000字", groups = {ApprovalCategory.class})
|
||||
|
private String internalRemark; |
||||
|
|
||||
|
/** |
||||
|
* 吹哨勾选的工作人员信息集合,不可为空 |
||||
|
*/ |
||||
|
@Valid |
||||
|
private List<TickStaffFormDTO> staffList; |
||||
|
/** |
||||
|
* 项目所选分类集合,不可为空 |
||||
|
*/ |
||||
|
@Valid |
||||
|
private List<CategoryOrTagFormDTO> categoryList; |
||||
|
/** |
||||
|
* 项目所选标签集合 |
||||
|
*/ |
||||
|
private List<CategoryOrTagFormDTO> tagList; |
||||
|
|
||||
|
@Length(min = 1, max = 20, message = "项目标题不能超过20位", groups = {ApprovalCategory.class}) |
||||
|
private String title; |
||||
|
|
||||
|
/** |
||||
|
* 公开答复对应文件集合 |
||||
|
*/ |
||||
|
private List<FileDTO> publicFile; |
||||
|
/** |
||||
|
* 内部备注对应文件集合 |
||||
|
*/ |
||||
|
private List<FileDTO> internalFile; |
||||
|
|
||||
|
//定位地址[立项项目指的项目发生位置,议题转的项目指的话题发生位置]
|
||||
|
private String locateAddress; |
||||
|
//定位经度
|
||||
|
private String locateLongitude; |
||||
|
//定位纬度
|
||||
|
private String locateDimension; |
||||
|
|
||||
|
|
||||
|
|
||||
|
//以下参数从token中获取
|
||||
|
/** |
||||
|
* 当前用户id |
||||
|
*/ |
||||
|
@NotBlank(message = "userId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 当前客户id |
||||
|
*/ |
||||
|
@NotBlank(message = "customerId不能为空",groups = AddUserInternalGroup.class) |
||||
|
private String customerId; |
||||
|
|
||||
|
private String app; |
||||
|
private String client; |
||||
|
|
||||
|
/** |
||||
|
* 网格id |
||||
|
*/ |
||||
|
@NotBlank(message = "网格id不能为空", groups = AddUserInternalGroup.class) |
||||
|
private String gridId; |
||||
|
/** |
||||
|
* 协办单位ID |
||||
|
*/ |
||||
|
private String assistanceUnitId; |
||||
|
|
||||
|
/** |
||||
|
* 协办单位类型,1社区自组织,2联建单位 |
||||
|
*/ |
||||
|
private String assistanceUnitType; |
||||
|
} |
Loading…
Reference in new issue