21 changed files with 455 additions and 8 deletions
@ -0,0 +1,27 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import org.hibernate.validator.constraints.Length; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description 议题管理-关闭议题-接口入参 |
||||
|
* @Author sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CloseIssueFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 4859779755214502427L; |
||||
|
|
||||
|
@NotBlank(message = "议题Id不能为空") |
||||
|
private String issueId; |
||||
|
|
||||
|
@NotBlank(message = "解决状态不能为空") |
||||
|
private String resolveType; |
||||
|
|
||||
|
@NotBlank(message = "关闭理由不能为空") |
||||
|
@Length(max=1000,message = "手机号不能超过1000位") |
||||
|
private String closeReason; |
||||
|
} |
||||
|
|
@ -0,0 +1,25 @@ |
|||||
|
package com.epmet.constant; |
||||
|
|
||||
|
/** |
||||
|
* @Description 议题管理模块消息通知 |
||||
|
* @Author sun |
||||
|
*/ |
||||
|
public interface UserMessageConstant { |
||||
|
|
||||
|
/** |
||||
|
* 消息标题 |
||||
|
*/ |
||||
|
String ISSUE_TITLE = "您有一条议题消息"; |
||||
|
|
||||
|
/** |
||||
|
* 议题关闭时,选择已解决 |
||||
|
*/ |
||||
|
String ISSUE_RESLOVED_MSG = "您好,您发表的话题\"%s\"问题已解决,解决方案是:%s"; |
||||
|
|
||||
|
/** |
||||
|
* 议题关闭时,选择无需解决 |
||||
|
*/ |
||||
|
String ISSUE_UNRESLOVED_MSG = "您好,您发表的话题\"%s\"问题无需解决,原因:%s"; |
||||
|
|
||||
|
|
||||
|
} |
@ -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 lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 查询组织网格名称-接口返参 |
||||
|
* |
||||
|
* @author sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AgencyGridResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 机关组织Id |
||||
|
*/ |
||||
|
private String agencyId; |
||||
|
/** |
||||
|
* 机关组织名称 |
||||
|
*/ |
||||
|
private String agencyName; |
||||
|
/** |
||||
|
* 网格Id |
||||
|
*/ |
||||
|
private String gridId; |
||||
|
/** |
||||
|
* 网格名称 |
||||
|
*/ |
||||
|
private String gridName; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue