forked from luyan/epmet-cloud-lingshan
				
			
				 19 changed files with 422 additions and 3 deletions
			
			
		@ -0,0 +1,51 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.dto.form; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
import org.hibernate.validator.constraints.Length; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.NotBlank; | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 根据组织Id集合、部门Id集合、网格Id集合查询对应详细信息-入参 | 
				
			|||
 * | 
				
			|||
 * @author sun | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class AgencyDeptGridFormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 组织Id集合 | 
				
			|||
     */ | 
				
			|||
    private List<String> agencyIdList; | 
				
			|||
    /** | 
				
			|||
     * 部门Id集合 | 
				
			|||
     */ | 
				
			|||
    private List<String> deptIdList; | 
				
			|||
    /** | 
				
			|||
     * 网格Id集合 | 
				
			|||
     */ | 
				
			|||
    private List<String> gridIdList; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,52 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import com.epmet.dto.CustomerAgencyDTO; | 
				
			|||
import com.epmet.dto.CustomerDepartmentDTO; | 
				
			|||
import com.epmet.dto.CustomerGridDTO; | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 根据组织Id集合、部门Id集合、网格Id集合查询对应详细信息--返参 | 
				
			|||
 * | 
				
			|||
 * @author sun | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class AgencyDeptGridResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 组织信息集合 | 
				
			|||
     */ | 
				
			|||
    private List<CustomerAgencyDTO> agencyList; | 
				
			|||
    /** | 
				
			|||
     * 部门信息集合 | 
				
			|||
     */ | 
				
			|||
    private List<CustomerDepartmentDTO> deptList; | 
				
			|||
    /** | 
				
			|||
     * 网格信息集合 | 
				
			|||
     */ | 
				
			|||
    private List<CustomerGridDTO> gridList; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,35 @@ | 
				
			|||
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 TickStaffFormDTO implements Serializable { | 
				
			|||
    private static final long serialVersionUID = 4859779755214502427L; | 
				
			|||
 | 
				
			|||
    @NotBlank(message = "机关Id不能为空") | 
				
			|||
    private String agencyId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 部门Id(为空表示勾选的人不是部门下的,可能是组织下的也可能是网格下的) | 
				
			|||
     */ | 
				
			|||
    private String departmentId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格Id(为空表示勾选的人不是网格下的,可能是组织下的也可能是部门下的) | 
				
			|||
     */ | 
				
			|||
    private String gridId; | 
				
			|||
 | 
				
			|||
    @NotBlank(message = "内部备注不能为空") | 
				
			|||
    private String staffId; | 
				
			|||
} | 
				
			|||
 | 
				
			|||
@ -0,0 +1,36 @@ | 
				
			|||
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 TransferFormDTO implements Serializable { | 
				
			|||
    private static final long serialVersionUID = 4859779755214502427L; | 
				
			|||
 | 
				
			|||
    @NotBlank(message = "项目Id不能为空") | 
				
			|||
    private String projectId; | 
				
			|||
 | 
				
			|||
    @NotBlank(message = "项目人员关联Id不能为空") | 
				
			|||
    private String projectStaffId; | 
				
			|||
 | 
				
			|||
    @Length(max=1000,message = "公开答复内容不能超过1000位") | 
				
			|||
    private String publicReply; | 
				
			|||
 | 
				
			|||
    @NotBlank(message = "内部备注不能为空") | 
				
			|||
    @Length(max=1000,message = "内部备注不能超过1000位") | 
				
			|||
    private String internalRemark; | 
				
			|||
 | 
				
			|||
    @Valid | 
				
			|||
    private List<TickStaffFormDTO> staffList; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
 | 
				
			|||
					Loading…
					
					
				
		Reference in new issue