From d2b5d797f260771b8753ce0faa39c9b8d30da56a Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.com> Date: Tue, 14 Sep 2021 10:41:00 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=88=91=E6=9C=89=E6=84=8F=E8=A7=81?= =?UTF-8?q?=E8=A6=81=E6=8F=90=E3=80=91DTO=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epdc/dto/suggestion/CustomImgDTO.java | 86 ++++++++++ .../dto/suggestion/SuggestionFeedbackDTO.java | 91 +++++++++++ .../dto/suggestion/SuggestionMakeDTO.java | 151 ++++++++++++++++++ .../dto/suggestion/SuggestionTypeDTO.java | 96 +++++++++++ 4 files changed, 424 insertions(+) create mode 100644 epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/CustomImgDTO.java create mode 100644 epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionFeedbackDTO.java create mode 100644 epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionMakeDTO.java create mode 100644 epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionTypeDTO.java diff --git a/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/CustomImgDTO.java b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/CustomImgDTO.java new file mode 100644 index 0000000..2aadb1d --- /dev/null +++ b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/CustomImgDTO.java @@ -0,0 +1,86 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.elink.esua.epdc.dto.suggestion; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * customer 库共用图片表 + * + * @author qu qu@elink-cn.com + * @since v1.0.0 2021-09-14 + */ +@Data +public class CustomImgDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private String id; + + /** + * 引用ID + */ + private String referenceId; + + /** + * 图片地址 + */ + private String imgUrl; + + /** + * 图片类型 + */ + private String imgType; + + /** + * 删除标识 0:未删除,1:删除 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} diff --git a/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionFeedbackDTO.java b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionFeedbackDTO.java new file mode 100644 index 0000000..bbac188 --- /dev/null +++ b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionFeedbackDTO.java @@ -0,0 +1,91 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.elink.esua.epdc.dto.suggestion; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 建议反馈表 + * + * @author qu qu@elink-cn.com + * @since v1.0.0 2021-09-14 + */ +@Data +public class SuggestionFeedbackDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 建议,反馈内容 + */ + private String feedbackContent; + + /** + * 提建议表主键 关联:epdc_suggestion_make + */ + private String suggestionId; + + /** + * 反馈部门ID + */ + private Long deptId; + + /** + * 反馈部门名称 + */ + private String deptName; + + /** + * 删除标识 0-否,1-是 + */ + private String delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} diff --git a/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionMakeDTO.java b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionMakeDTO.java new file mode 100644 index 0000000..cfc2471 --- /dev/null +++ b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionMakeDTO.java @@ -0,0 +1,151 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.elink.esua.epdc.dto.suggestion; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 我有建议要提 + * + * @author qu qu@elink-cn.com + * @since v1.0.0 2021-09-14 + */ +@Data +public class SuggestionMakeDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 建议类别 关联:epdc_suggestion_type + */ + private String suggestionTypeId; + + /** + * 建议标题 + */ + private String suggestionTitle; + + /** + * 建议内容 + */ + private String suggestionContent; + + /** + * 建议图片 关联:epdc_custom_img 表;最多三张,逗号分隔 + */ + private String suggestionPic; + + /** + * 提意见的用户ID + */ + private String userId; + + /** + * 用户昵称 + */ + private String nickname; + + /** + * 用户头像 + */ + private String faceImg; + + /** + * 手机号 + */ + private String mobile; + + /** + * 是否是党员(0-否,1-是) + */ + private String partyFlag; + + /** + * 居住网格id + */ + private Long deptId; + + /** + * 居住网格名称 + */ + private String deptName; + + /** + * 父所有部门id + */ + private String parentDeptIds; + + /** + * 父所有部门名称 + */ + private String parentDeptNames; + + /** + * 所有部门ID + */ + private String allDeptIds; + + /** + * 所有部门名称 + */ + private String allDeptNames; + + /** + * 是否反馈 0-否,1-是 + */ + private String isFeedback; + + /** + * 删除标识 0-否,1-是 + */ + private String delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} diff --git a/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionTypeDTO.java b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionTypeDTO.java new file mode 100644 index 0000000..1b2288a --- /dev/null +++ b/epdc-cloud-custom-client/src/main/java/com/elink/esua/epdc/dto/suggestion/SuggestionTypeDTO.java @@ -0,0 +1,96 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.elink.esua.epdc.dto.suggestion; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 建议类别表 + * + * @author qu qu@elink-cn.com + * @since v1.0.0 2021-09-14 + */ +@Data +public class SuggestionTypeDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 建议类别名称 + */ + private String suggestionName; + + /** + * 上级ID + */ + private String pid; + + /** + * 所有上级ID,用逗号分开 + */ + private String pids; + + /** + * 排序 + */ + private Integer sort; + + /** + * 启用标识(0-否,1-是) + */ + private String enableFlag; + + /** + * 删除标识 0-否,1-是 + */ + private String delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +}