293 changed files with 16666 additions and 187 deletions
@ -0,0 +1,31 @@ |
|||
package com.epmet.feign; |
|||
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.form.WorkDayFormDTO; |
|||
import com.epmet.dto.result.WorkDayResultDTO; |
|||
import com.epmet.feign.fallback.EpmetCommonServiceOpenFeignClientFallback; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/4 10:28 |
|||
*/ |
|||
@FeignClient(name = ServiceConstant.EPMET_COMMON_SERVICE, fallback = EpmetCommonServiceOpenFeignClientFallback.class) |
|||
public interface EpmetCommonServiceOpenFeignClient { |
|||
/** |
|||
* @param formDTO |
|||
* @return com.epmet.commons.tools.utils.Result<java.util.List < com.epmet.dto.result.WorkDayResultDTO>> |
|||
* @author yinzuomei@elink-cn.com |
|||
* @description 根据起止时间,计算工作日 |
|||
* @date 2020/6/4 10:44 |
|||
**/ |
|||
@PostMapping("commonservice/workday/detentiondays") |
|||
Result<List<WorkDayResultDTO>> detentionDays(@RequestBody List<WorkDayFormDTO> formDTO); |
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.epmet.feign.fallback; |
|||
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.commons.tools.utils.ModuleUtils; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.form.WorkDayFormDTO; |
|||
import com.epmet.dto.result.WorkDayResultDTO; |
|||
import com.epmet.feign.EpmetCommonServiceOpenFeignClient; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/4 10:32 |
|||
*/ |
|||
@Component |
|||
public class EpmetCommonServiceOpenFeignClientFallback implements EpmetCommonServiceOpenFeignClient { |
|||
@Override |
|||
public Result<List<WorkDayResultDTO>> detentionDays(List<WorkDayFormDTO> formDTO) { |
|||
return ModuleUtils.feignConError(ServiceConstant.EPMET_COMMON_SERVICE, "detentionDays", formDTO); |
|||
} |
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.epmet.feign; |
|||
|
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.feign.fallback.GovIssueOpenFeignClientFallBack; |
|||
|
|||
/** |
|||
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/4 13:37 |
|||
*/ |
|||
@FeignClient(name = ServiceConstant.GOV_ISSUE_SERVER, fallback = GovIssueOpenFeignClientFallBack.class) |
|||
public interface GovIssueOpenFeignClient { |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.epmet.feign.fallback; |
|||
|
|||
import com.epmet.feign.GovIssueOpenFeignClient; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/4 13:43 |
|||
*/ |
|||
@Component |
|||
public class GovIssueOpenFeignClientFallBack implements GovIssueOpenFeignClient { |
|||
} |
@ -0,0 +1,40 @@ |
|||
package com.epmet.dto.feign; |
|||
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.feign.fallback.GovOrgSelfFeignClientFallBack; |
|||
import com.epmet.dto.form.PublishGridListFormDTO; |
|||
import com.epmet.dto.result.ArticleGridResultDTO; |
|||
import com.epmet.dto.result.PublishAgencyListResultDTO; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.http.MediaType; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
|
|||
/** |
|||
* @Description gov-org服务 |
|||
* @Author sun |
|||
*/ |
|||
@FeignClient(name = ServiceConstant.GOV_ORG_SERVER, fallback = GovOrgSelfFeignClientFallBack.class) |
|||
public interface GovOrgSelfFeignClient { |
|||
|
|||
/** |
|||
* @param staffId |
|||
* @return |
|||
* @Author sun |
|||
* @Description 党建声音-政府端-可选发布范围接口调用 |
|||
**/ |
|||
@PostMapping(value = "gov/org/customeragency/getagencygridlist/{staffId}", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE) |
|||
Result<ArticleGridResultDTO> getAgencyGridList(@PathVariable("staffId") String staffId); |
|||
|
|||
/** |
|||
* @param staffId |
|||
* @return |
|||
* @Author sun |
|||
* @Description 党建声音-政府端-可选发布单位接口调用 |
|||
**/ |
|||
@PostMapping(value = "gov/org/customeragency/getpublishagencylist/{staffId}", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE) |
|||
Result<PublishAgencyListResultDTO> getPublishAgencyList(@PathVariable("staffId") String staffId); |
|||
|
|||
} |
@ -0,0 +1,29 @@ |
|||
package com.epmet.dto.feign.fallback; |
|||
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.commons.tools.utils.ModuleUtils; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.feign.GovOrgSelfFeignClient; |
|||
import com.epmet.dto.form.PublishGridListFormDTO; |
|||
import com.epmet.dto.result.ArticleGridResultDTO; |
|||
import com.epmet.dto.result.PublishAgencyListResultDTO; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* @Description gov-org服务 |
|||
* @Author sun |
|||
*/ |
|||
@Component |
|||
public class GovOrgSelfFeignClientFallBack implements GovOrgSelfFeignClient { |
|||
|
|||
@Override |
|||
public Result<ArticleGridResultDTO> getAgencyGridList(String staffId) { |
|||
return ModuleUtils.feignConError(ServiceConstant.GOV_ORG_SERVER, "getAgencyGridList", staffId); |
|||
} |
|||
|
|||
@Override |
|||
public Result<PublishAgencyListResultDTO> getPublishAgencyList(String staffId) { |
|||
return ModuleUtils.feignConError(ServiceConstant.GOV_ORG_SERVER, "getPublishAgencyList", staffId); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,44 @@ |
|||
/** |
|||
* 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 AgencyDeptList implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 部门Id |
|||
*/ |
|||
private String departmentId = ""; |
|||
/** |
|||
* 机关-部门名称 |
|||
*/ |
|||
private String agencyDeptName = ""; |
|||
|
|||
} |
@ -0,0 +1,44 @@ |
|||
/** |
|||
* 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 AgencyGridList implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 网格Id |
|||
*/ |
|||
private String gridId = ""; |
|||
/** |
|||
* 机关-网格名称 |
|||
*/ |
|||
private String agencyGridName = ""; |
|||
|
|||
} |
@ -0,0 +1,41 @@ |
|||
/** |
|||
* 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 AgencyGridListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 机关组织Id |
|||
*/ |
|||
private String gridId = ""; |
|||
private String gridName = ""; |
|||
|
|||
} |
@ -0,0 +1,66 @@ |
|||
/** |
|||
* 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; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
|
|||
/** |
|||
* 党建声音-可选发布范围、可下线网格列表-接口返参 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class ArticleGridResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 机关组织Id |
|||
*/ |
|||
private String agencyId = ""; |
|||
/** |
|||
* 机关组织名称 |
|||
*/ |
|||
private String agencyName = ""; |
|||
/** |
|||
* 当前机关的下属网格列表 |
|||
*/ |
|||
private List<AgencyGridListResultDTO> gridList = new ArrayList<>(); |
|||
/** |
|||
* 当前组织的所有下级组织信息(递归) |
|||
*/ |
|||
private List<ArticleGridResultDTO> subAgencyGridList = new ArrayList<>(); |
|||
/** |
|||
* 上级组织机构ID |
|||
*/ |
|||
private String pid = ""; |
|||
/** |
|||
* 所有上级组织机构ID(以英文:隔开) |
|||
*/ |
|||
private String pids = ""; |
|||
/** |
|||
* 所有上级名称,以-连接 |
|||
*/ |
|||
private String allParentName = ""; |
|||
|
|||
} |
@ -0,0 +1,53 @@ |
|||
/** |
|||
* 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; |
|||
import java.util.List; |
|||
|
|||
|
|||
/** |
|||
* 党建声音-可选发布单位-接口返参 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class PublishAgencyListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 机关组织Id |
|||
*/ |
|||
private String agencyId = ""; |
|||
/** |
|||
* 机关组织名称 |
|||
*/ |
|||
private String agencyName = ""; |
|||
/** |
|||
* 机关下部门列表信息 |
|||
*/ |
|||
private List<AgencyDeptList> agencyDeptList; |
|||
/** |
|||
* 机关下网格列表信息 |
|||
*/ |
|||
private List<AgencyGridList> agencyGridList; |
|||
|
|||
} |
@ -1,23 +1,40 @@ |
|||
package com.epmet.feign; |
|||
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.CustomerAgencyDTO; |
|||
import com.epmet.feign.callback.GovOrgOpenFeignClientFallback; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
|
|||
//@FeignClient(name = ServiceConstant.GOV_ORG_SERVER, fallback = GovOrgOpenFeignClientFallback.class, url = "localhost:8092")
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.CustomerAgencyDTO; |
|||
import com.epmet.feign.fallback.GovOrgOpenFeignClientFallback; |
|||
|
|||
/** |
|||
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/4 13:37 |
|||
*/ |
|||
// @FeignClient(name = ServiceConstant.GOV_ORG_SERVER, fallback = GovOrgOpenFeignClientFallback.class, url =
|
|||
// "localhost:8092")
|
|||
@FeignClient(name = ServiceConstant.GOV_ORG_SERVER, fallback = GovOrgOpenFeignClientFallback.class) |
|||
public interface GovOrgOpenFeignClient { |
|||
|
|||
/** |
|||
* 根据Id查询agency |
|||
* |
|||
* @param agencyId |
|||
* @return |
|||
*/ |
|||
@PostMapping("/gov/org/agency/agencybyid/{agencyId}") |
|||
Result<CustomerAgencyDTO> getAgencyById(@PathVariable("agencyId") String agencyId); |
|||
|
|||
/** |
|||
* 根据staffId查询所属的组织机构 |
|||
* |
|||
* @param staffId |
|||
* @return |
|||
*/ |
|||
@PostMapping("/gov/org/agency/agencybystaff/{staffId}") |
|||
Result<CustomerAgencyDTO> getAgencyByStaff(@PathVariable("staffId") String staffId); |
|||
} |
|||
|
@ -0,0 +1,16 @@ |
|||
package com.epmet.feign; |
|||
|
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.feign.fallback.GovProjectOpenFeignClientFallback; |
|||
|
|||
/** |
|||
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/4 13:32 |
|||
*/ |
|||
@FeignClient(name = ServiceConstant.GOV_PROJECT_SERVER, fallback = GovProjectOpenFeignClientFallback.class) |
|||
public interface GovProjectOpenFeignClient { |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.epmet.feign.fallback; |
|||
|
|||
import com.epmet.feign.GovProjectOpenFeignClient; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/4 13:33 |
|||
*/ |
|||
@Component |
|||
public class GovProjectOpenFeignClientFallback implements GovProjectOpenFeignClient { |
|||
} |
@ -1,23 +0,0 @@ |
|||
package com.epmet.feign; |
|||
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.form.WorkDayFormDTO; |
|||
import com.epmet.dto.result.WorkDayResultDTO; |
|||
import com.epmet.feign.fallback.CommonFeignClientFallBack; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/5/12 15:48 |
|||
*/ |
|||
@FeignClient(name = ServiceConstant.EPMET_COMMON_SERVICE, fallback = CommonFeignClientFallBack.class) |
|||
public interface CommonFeignClient { |
|||
@PostMapping("commonservice/workday/detentiondays") |
|||
Result<List<WorkDayResultDTO>> detentionDays(@RequestBody List<WorkDayFormDTO> formDTO); |
|||
} |
@ -1,24 +0,0 @@ |
|||
package com.epmet.feign.fallback; |
|||
|
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.commons.tools.utils.ModuleUtils; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.form.WorkDayFormDTO; |
|||
import com.epmet.dto.result.WorkDayResultDTO; |
|||
import com.epmet.feign.CommonFeignClient; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/5/12 15:51 |
|||
*/ |
|||
@Component |
|||
public class CommonFeignClientFallBack implements CommonFeignClient { |
|||
@Override |
|||
public Result<List<WorkDayResultDTO>> detentionDays(List<WorkDayFormDTO> formDTO) { |
|||
return ModuleUtils.feignConError(ServiceConstant.EPMET_COMMON_SERVICE, "detentionDays", formDTO); |
|||
} |
|||
} |
@ -0,0 +1,106 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 文章内容表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class ArticleContentDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 文章ID |
|||
*/ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 内容 |
|||
*/ |
|||
private String content; |
|||
|
|||
/** |
|||
* 内容类型 图片:img;文字:text |
|||
*/ |
|||
private String contentType; |
|||
|
|||
/** |
|||
* 审核状态 通过:pass;失败:fail;审核中:auditing |
|||
*/ |
|||
private String auditStatus; |
|||
|
|||
/** |
|||
* 审核理由 |
|||
*/ |
|||
private String auditReason; |
|||
|
|||
/** |
|||
* 内容顺序 从1开始 |
|||
*/ |
|||
private Integer orderNum; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,96 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 文章封面表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class ArticleCoverDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 文章ID |
|||
*/ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 封面图片地址 url地址 |
|||
*/ |
|||
private String imgUrl; |
|||
|
|||
/** |
|||
* 审核状态 通过:pass;失败:fail;审核中:auditing |
|||
*/ |
|||
private String auditStatus; |
|||
|
|||
/** |
|||
* 审核理由 |
|||
*/ |
|||
private String auditReason; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,157 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
/** |
|||
* 文章表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class ArticleDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 草稿ID |
|||
*/ |
|||
private String draftId; |
|||
|
|||
/** |
|||
* 文章标题 |
|||
*/ |
|||
private String title; |
|||
|
|||
/** |
|||
* 文章内容 精简内容 |
|||
*/ |
|||
private String previewContent; |
|||
|
|||
/** |
|||
* 是否置顶 |
|||
*/ |
|||
private Integer isTop; |
|||
|
|||
/** |
|||
* 发布范围描述 所有发布范围集合 |
|||
*/ |
|||
private String publishRangeDesc; |
|||
|
|||
/** |
|||
* 发布单位ID |
|||
*/ |
|||
private String publisherId; |
|||
|
|||
/** |
|||
* 发布单位名称 |
|||
*/ |
|||
private String publisherName; |
|||
|
|||
/** |
|||
* 发布单位类型 机关:agency;部门:department;网格:grid |
|||
*/ |
|||
private String publisherType; |
|||
|
|||
/** |
|||
* 发布时间 |
|||
*/ |
|||
private Date publishDate; |
|||
|
|||
/** |
|||
* 发布状态 已发布:published;已下线:offline |
|||
*/ |
|||
private String statusFlag; |
|||
|
|||
/** |
|||
* 下线时间 |
|||
*/ |
|||
private Date offLineTime; |
|||
|
|||
/** |
|||
* 文章标签串 竖杠分割的标签名称 |
|||
*/ |
|||
private String tags; |
|||
|
|||
/** |
|||
* 组织ID |
|||
*/ |
|||
private String orgId; |
|||
|
|||
/** |
|||
* 组织ID路径 eg:字段为def:abc |
|||
*/ |
|||
private String orgIdPath; |
|||
|
|||
/** |
|||
* 网格ID 数据权限使用 |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 部门ID 数据权限使用 |
|||
*/ |
|||
private String departmentId; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,101 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 文章操作记录表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class ArticleOperateRecordDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 文章ID |
|||
*/ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 执行人 xx街道-xx中心-姓名 |
|||
*/ |
|||
private String opUser; |
|||
|
|||
/** |
|||
* 操作内容 操作内容,eg:重新编辑文章; |
|||
*/ |
|||
private String content; |
|||
|
|||
/** |
|||
* 操作类型 发布文章:publish;取消文章置顶:canceltop;设置置顶:settom;下线文章:offline;修改文章发布范围:updatepublishrange |
|||
*/ |
|||
private String opType; |
|||
|
|||
/** |
|||
* 操作时间 |
|||
*/ |
|||
private Date opTime; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,117 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
/** |
|||
* 文章发布范围表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class ArticlePublishRangeDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 文章ID |
|||
*/ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 网格ID |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 组织-网格名称 |
|||
*/ |
|||
private String agencyGridName; |
|||
|
|||
/** |
|||
* 组织ID |
|||
*/ |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 所有上级组织机构ID 以英文:隔开 |
|||
*/ |
|||
private String pids; |
|||
|
|||
/** |
|||
* 所有上级名称 以横杠隔开 |
|||
*/ |
|||
private String allParentName; |
|||
|
|||
/** |
|||
* 下线时间 |
|||
*/ |
|||
private Date offLineTime; |
|||
|
|||
/** |
|||
* 发布状态 |
|||
*/ |
|||
private String publishStatus; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,91 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 文章标签表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class ArticleTagsDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 文章ID |
|||
*/ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 标签ID |
|||
*/ |
|||
private String tagId; |
|||
|
|||
/** |
|||
* 标签名称 |
|||
*/ |
|||
private String tagName; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,91 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 文章访问记录表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class ArticleVisitRecordDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 网格ID |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 文章ID |
|||
*/ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 用户ID |
|||
*/ |
|||
private String userId; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,106 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 草稿内容表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class DraftContentDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 草稿ID |
|||
*/ |
|||
private String draftId; |
|||
|
|||
/** |
|||
* 内容 |
|||
*/ |
|||
private String content; |
|||
|
|||
/** |
|||
* 内容类型 图片:img;文字:text |
|||
*/ |
|||
private String contentType; |
|||
|
|||
/** |
|||
* 审核状态 通过:pass;失败:fail; |
|||
*/ |
|||
private String auditStatus; |
|||
|
|||
/** |
|||
* 审核理由 |
|||
*/ |
|||
private String auditReason; |
|||
|
|||
/** |
|||
* 内容顺序 从1开始 |
|||
*/ |
|||
private Integer orderNum; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,96 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 草稿封面表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class DraftCoverDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 草稿ID |
|||
*/ |
|||
private String draftId; |
|||
|
|||
/** |
|||
* 封面图片地址 url地址 |
|||
*/ |
|||
private String imgUrl; |
|||
|
|||
/** |
|||
* 审核状态 通过:pass;失败:fail; |
|||
*/ |
|||
private String auditStatus; |
|||
|
|||
/** |
|||
* 审核理由 |
|||
*/ |
|||
private String auditReason; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,147 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
/** |
|||
* 草稿表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class DraftDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 文章标题 |
|||
*/ |
|||
private String title; |
|||
|
|||
/** |
|||
* 文章内容 精简内容 |
|||
*/ |
|||
private String previewContent; |
|||
|
|||
/** |
|||
* 是否置顶 |
|||
*/ |
|||
private Integer isTop; |
|||
|
|||
/** |
|||
* 发布范围描述 所有发布范围集合 |
|||
*/ |
|||
private String publishRangeDesc; |
|||
|
|||
/** |
|||
* 发布单位ID |
|||
*/ |
|||
private String publisherId; |
|||
|
|||
/** |
|||
* 发布单位名称 |
|||
*/ |
|||
private String publisherName; |
|||
|
|||
/** |
|||
* 发布单位类型 机关:agency;部门:department;网格:grid |
|||
*/ |
|||
private String publisherType; |
|||
|
|||
/** |
|||
* 发布时间 |
|||
*/ |
|||
private Date publishDate; |
|||
|
|||
/** |
|||
* 发布状态 未发布:unpublish ;已发布:published,审核中:auditing |
|||
*/ |
|||
private String statusFlag; |
|||
|
|||
/** |
|||
* 文章标签串 竖杠分割的标签名称 |
|||
*/ |
|||
private String tags; |
|||
|
|||
/** |
|||
* 组织ID |
|||
*/ |
|||
private String orgId; |
|||
|
|||
/** |
|||
* 组织ID路径 eg:字段为def:abc |
|||
*/ |
|||
private String orgIdPath; |
|||
|
|||
/** |
|||
* 网格ID 数据权限使用 |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 部门ID 数据权限使用 |
|||
*/ |
|||
private String departmentId; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,117 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
/** |
|||
* 草稿发布范围表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class DraftPublishRangeDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* ID草稿 |
|||
*/ |
|||
private String draftId; |
|||
|
|||
/** |
|||
* 网格ID |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 组织-网格名称 |
|||
*/ |
|||
private String agencyGridName; |
|||
|
|||
/** |
|||
* 组织ID |
|||
*/ |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 所有上级组织机构ID 以英文:隔开 |
|||
*/ |
|||
private String pids; |
|||
|
|||
/** |
|||
* 所有上级名称 以横杠隔开 |
|||
*/ |
|||
private String allParentName; |
|||
|
|||
/** |
|||
* 下线时间 |
|||
*/ |
|||
private Date offLineTime; |
|||
|
|||
/** |
|||
* 发布状态 未发布:unpublish ;已发布:published |
|||
*/ |
|||
private String publishStatus; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,86 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 客户标签表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class TagCustomerDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 标签名称 |
|||
*/ |
|||
private String tagName; |
|||
|
|||
/** |
|||
* 使用计数 |
|||
*/ |
|||
private Integer useCount; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,76 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 默认标签表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class TagDefaultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 标签名称 |
|||
*/ |
|||
private String tagName; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,96 @@ |
|||
/** |
|||
* 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; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 网格标签表 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class TagGridDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 网格ID |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 标签ID |
|||
*/ |
|||
private String tagId; |
|||
|
|||
/** |
|||
* 标签名称 |
|||
*/ |
|||
private String tagName; |
|||
|
|||
/** |
|||
* 使用计数 |
|||
*/ |
|||
private Integer useCount; |
|||
|
|||
/** |
|||
* 删除标识 0.未删除 1.已删除 |
|||
*/ |
|||
private Integer delFlag; |
|||
|
|||
/** |
|||
* 乐观锁 |
|||
*/ |
|||
private Integer revision; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createdBy; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Date createdTime; |
|||
|
|||
/** |
|||
* 更新人 |
|||
*/ |
|||
private String updatedBy; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private Date updatedTime; |
|||
|
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 查询文章操作记录 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/2 16:42 |
|||
*/ |
|||
@Data |
|||
public class ArticleOperationFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -6659391832410565077L; |
|||
|
|||
public interface AddUserInternalGroup {} |
|||
|
|||
/** |
|||
* 文章id |
|||
*/ |
|||
@NotBlank(message = "文章id不能为空", groups = {ArticleOperationFormDTO.AddUserInternalGroup.class}) |
|||
private String articleId; |
|||
} |
@ -0,0 +1,43 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 居民端查看文章列表参数DTO |
|||
* @ClassName ArticlePageFormDTO |
|||
* @Auth wangc |
|||
* @Date 2020-06-03 14:21 |
|||
*/ |
|||
|
|||
@Data |
|||
public class ArticlePageFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -6201259689082896334L; |
|||
|
|||
public interface ArticlePageInternalGroup{} |
|||
|
|||
/** |
|||
* 网格Id |
|||
* */ |
|||
@NotBlank(message = "网格Id不能为空" , groups = {ArticlePageInternalGroup.class}) |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 标签Id集合 |
|||
* */ |
|||
private List<String> tagIdList; |
|||
|
|||
/** |
|||
* 页码 |
|||
* */ |
|||
private Integer pageNo = 1; |
|||
|
|||
/** |
|||
* 每页显示量 |
|||
* */ |
|||
private Integer pageSize = 10; |
|||
|
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 居民端首页轮播查询接口DTO |
|||
* @ClassName ArticleBannerFormDTO |
|||
* @Auth wangc |
|||
* @Date 2020-06-02 11:20 |
|||
*/ |
|||
@Data |
|||
public class CommonArticleListFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 5996259506950697451L; |
|||
|
|||
/** |
|||
* 内部错误分组 |
|||
* */ |
|||
public interface ArticleBannerInternalGroup{} |
|||
|
|||
/** |
|||
* 网格Id |
|||
* */ |
|||
@NotBlank(message = "网格Id不能为空" , groups = {ArticleBannerInternalGroup.class}) |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 客户定制化条数(高级配置里的参数) |
|||
* */ |
|||
private Integer num; |
|||
|
|||
} |
@ -0,0 +1,22 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/6/3 9:39 |
|||
*/ |
|||
@Data |
|||
public class CorrelationTagListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -1588825995685146967L; |
|||
|
|||
/** |
|||
* 标签id集合 |
|||
*/ |
|||
private List<String> tagIdList; |
|||
|
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 政府端工作人员,删除草稿入参DTO |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/2 15:25 |
|||
*/ |
|||
@Data |
|||
public class DeleteDraftFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -2424432724401298206L; |
|||
|
|||
public interface AddUserInternalGroup {} |
|||
|
|||
/** |
|||
* 草稿id |
|||
*/ |
|||
@NotBlank(message = "草稿id不能为空", groups = {AddUserInternalGroup.class}) |
|||
private String draftId; |
|||
} |
@ -0,0 +1,86 @@ |
|||
/** |
|||
* 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 javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
|
|||
/** |
|||
* 文章属性form |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class DraftAttrFromDTO implements Serializable { |
|||
|
|||
|
|||
private static final long serialVersionUID = 6463906402283515172L; |
|||
/** |
|||
* 草稿ID |
|||
*/ |
|||
@NotBlank(message = "草稿ID不能为空") |
|||
private String draftId; |
|||
|
|||
/** |
|||
* 封面图片地址 |
|||
*/ |
|||
private String coverImg; |
|||
|
|||
/** |
|||
* 标签名称数组 |
|||
*/ |
|||
private List<String> tagNameList; |
|||
|
|||
/** |
|||
* 是否置顶 |
|||
*/ |
|||
@NotNull(message = "是否置顶不能为空") |
|||
private Integer isTop; |
|||
|
|||
/** |
|||
* 网格Id数组 |
|||
*/ |
|||
private List<String> gridIdList; |
|||
|
|||
/** |
|||
* 发布单位Id 类型不同 id含义不同 |
|||
*/ |
|||
private String publisher; |
|||
|
|||
/** |
|||
* 发布单位名称 |
|||
*/ |
|||
private String publisherName; |
|||
|
|||
/** |
|||
* 发布日期 |
|||
*/ |
|||
@NotBlank(message = "发布日期不能为空") |
|||
private String publishDate; |
|||
|
|||
/** |
|||
* 发布者类型 机关:agency;发布类型 部门:department;网格:grid |
|||
*/ |
|||
private String publisherType; |
|||
} |
@ -0,0 +1,80 @@ |
|||
/** |
|||
* 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 javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
|
|||
/** |
|||
* 保存文章内容form |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-06-02 |
|||
*/ |
|||
@Data |
|||
public class DraftContentFromDTO implements Serializable { |
|||
|
|||
|
|||
private static final long serialVersionUID = -4206020151361420221L; |
|||
|
|||
|
|||
/** |
|||
* 草稿ID |
|||
*/ |
|||
private String draftId; |
|||
|
|||
/** |
|||
* 文章标题 |
|||
*/ |
|||
@NotBlank(message = "文章标题不能为空") |
|||
private String title; |
|||
|
|||
/** |
|||
* 内容列表 |
|||
*/ |
|||
private List<DraftContentDTO> contentList; |
|||
|
|||
@Data |
|||
public static class DraftContentDTO { |
|||
public DraftContentDTO() { |
|||
} |
|||
|
|||
/** |
|||
* 内容Id |
|||
*/ |
|||
private String draftContentId; |
|||
/** |
|||
* 内容 |
|||
*/ |
|||
private String content; |
|||
|
|||
/** |
|||
* 内容类型 图片:img;文字:text |
|||
*/ |
|||
private String contentType; |
|||
|
|||
/** |
|||
* 内容顺序 从1开始 |
|||
*/ |
|||
private Integer orderNum; |
|||
} |
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 编辑草稿-获取草稿内容、属性统一入参DTO |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/3 12:58 |
|||
*/ |
|||
@Data |
|||
public class DraftDetailFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 4492335656284426299L; |
|||
|
|||
public interface AddUserInternalGroup {} |
|||
|
|||
/** |
|||
* 草稿ID |
|||
*/ |
|||
@NotBlank(message = "草稿id不能为空", groups = {DraftDetailFormDTO.AddUserInternalGroup.class}) |
|||
private String draftId; |
|||
} |
@ -0,0 +1,23 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/6/3 14:43 |
|||
*/ |
|||
@Data |
|||
public class DraftListFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 7957826609741967502L; |
|||
/** |
|||
* 页码 |
|||
*/ |
|||
private Integer pageNo; |
|||
/** |
|||
* 每页显示数量 |
|||
*/ |
|||
private Integer pageSize; |
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 政府端:(已发布、已下线)文章详情 入参DTO |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/2 17:21 |
|||
*/ |
|||
@Data |
|||
public class GovArticleDetailFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 2149876964249893025L; |
|||
public interface AddUserInternalGroup {} |
|||
|
|||
/** |
|||
* 文章id |
|||
*/ |
|||
@NotBlank(message = "文章id不能为空", groups = {GovArticleDetailFormDTO.AddUserInternalGroup.class}) |
|||
private String articleId; |
|||
} |
@ -0,0 +1,33 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.Size; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 党建声音-政府端-下线文章-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class OffLineArticleFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 4859779755214502427L; |
|||
|
|||
/** |
|||
* 添加用户操作的内部异常分组 |
|||
* 出现错误会提示给前端7000错误码,返回信息为:服务器开小差... |
|||
*/ |
|||
public interface AddUserInternalGroup {} |
|||
|
|||
@NotBlank(message = "文章Id不能为空", groups = { AddUserInternalGroup.class }) |
|||
private String articleId; |
|||
|
|||
@Size(min = 1, message = "项目人员关联Id不能为空", groups = {AddUserInternalGroup.class}) |
|||
private List<String> gridIdList; |
|||
|
|||
private String staffId; |
|||
} |
|||
|
@ -0,0 +1,23 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/6/3 14:47 |
|||
*/ |
|||
@Data |
|||
public class OfflineListFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -5928134434874117068L; |
|||
/** |
|||
* 页码 |
|||
*/ |
|||
private Integer pageNo; |
|||
/** |
|||
* 每页显示数量 |
|||
*/ |
|||
private Integer pageSize; |
|||
} |
@ -0,0 +1,29 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 党建声音-可下线网格列表-接口入参 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class PublishGridListFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -6659391832410565077L; |
|||
|
|||
public interface AddUserInternalGroup {} |
|||
|
|||
/** |
|||
* 文章Id |
|||
*/ |
|||
@NotBlank(message = "文章id不能为空", groups = {PublishGridListFormDTO.AddUserInternalGroup.class}) |
|||
private String articleId; |
|||
/** |
|||
* token中人员Id |
|||
*/ |
|||
private String staffId; |
|||
} |
@ -0,0 +1,30 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/6/2 14:09 |
|||
*/ |
|||
@Data |
|||
public class PublishedListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -8377558773628524229L; |
|||
/** |
|||
* 页码 |
|||
*/ |
|||
private Integer pageNo; |
|||
/** |
|||
* 每页显示数量 |
|||
*/ |
|||
private Integer pageSize; |
|||
/** |
|||
* 标签 |
|||
*/ |
|||
private List<String> tagIdList; |
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 居民端查看文章详情传参DTO |
|||
* @ClassName ResiArticleDetailFormDTO |
|||
* @Auth wangc |
|||
* @Date 2020-06-04 09:20 |
|||
*/ |
|||
@Data |
|||
public class ResiArticleDetailFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -7197489284630455909L; |
|||
|
|||
public interface ResiArticleDetailInternalGroup{} |
|||
|
|||
/** |
|||
* 网格Id |
|||
* */ |
|||
@NotBlank(message = "网格Id不能为空",groups = ResiArticleDetailInternalGroup.class) |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 文章Id |
|||
* */ |
|||
@NotBlank(message = "文章Id不能为空",groups = ResiArticleDetailInternalGroup.class) |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 用户Id |
|||
* */ |
|||
@NotBlank(message = "用户Id不能为空",groups = ResiArticleDetailInternalGroup.class) |
|||
private String userId; |
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/6/2 15:50 |
|||
*/ |
|||
@Data |
|||
public class ResiTagListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 4337657473061285656L; |
|||
|
|||
public interface ResiTagListForm{} |
|||
public interface ResiTagListFormWeb extends CustomerClientShowGroup{} |
|||
|
|||
/** |
|||
* 网格id |
|||
*/ |
|||
@NotBlank(message = "网格id不能为空",groups = {ResiTagListForm.class}) |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 用户id |
|||
*/ |
|||
@NotBlank(message = "客户id不能为空",groups = {ResiTagListForm.class}) |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 用户id |
|||
*/ |
|||
private String userId; |
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/6/3 13:16 |
|||
*/ |
|||
@Data |
|||
public class TagCascadeListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -727325750715567406L; |
|||
|
|||
public interface TagCascadeList{} |
|||
public interface TagCascadeListWeb extends CustomerClientShowGroup {} |
|||
|
|||
/** |
|||
* 网格id |
|||
*/ |
|||
@NotBlank(message = "网格id不能为空",groups = {TagCascadeList.class}) |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 标签id集合 |
|||
*/ |
|||
private List<String> tagIdList; |
|||
|
|||
/** |
|||
* 客户id |
|||
*/ |
|||
private String customerId; |
|||
} |
@ -0,0 +1,31 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName ArticleBannerResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-06-02 13:55 |
|||
*/ |
|||
@Data |
|||
public class ArticleBannerResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 7764443348626371305L; |
|||
|
|||
/** |
|||
* 文章Id |
|||
* */ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 封面图url |
|||
* */ |
|||
private String coverImg; |
|||
|
|||
/** |
|||
* 标题 |
|||
* */ |
|||
private String title; |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName ArticleContentResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-06-03 16:41 |
|||
*/ |
|||
@Data |
|||
public class ArticleContentResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 2853197212163051558L; |
|||
|
|||
/** |
|||
* 内容类型(图片:img;文字:text) |
|||
* */ |
|||
private String contentType; |
|||
|
|||
/** |
|||
* 内容 |
|||
* */ |
|||
private String content; |
|||
} |
@ -0,0 +1,59 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName ArticleDetailResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-06-03 16:36 |
|||
*/ |
|||
@JsonIgnoreProperties(ignoreUnknown = true) |
|||
@Data |
|||
public class ArticleDetailResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 4659147595194692686L; |
|||
|
|||
/** |
|||
* 文章Id |
|||
* */ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 文章标题 |
|||
* */ |
|||
private String articleTitle; |
|||
|
|||
/** |
|||
* 文章发布单位名称 |
|||
* */ |
|||
private String publishUnitDesc; |
|||
|
|||
/** |
|||
* 发布时间 |
|||
* */ |
|||
private String publishDate; |
|||
|
|||
/** |
|||
* 文章当前网格阅读量(article_visit_record统计数) |
|||
* */ |
|||
private Integer visitRecordCount; |
|||
|
|||
/** |
|||
* 标签名称集合(竖线分隔) |
|||
* */ |
|||
private String tags; |
|||
|
|||
/** |
|||
* 文章内容 |
|||
* */ |
|||
private List<ArticleContentResultDTO> articleContentList; |
|||
|
|||
/** |
|||
* 客户Id |
|||
* */ |
|||
private String customerId; |
|||
} |
@ -0,0 +1,41 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName ArticleLatestResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-06-02 17:11 |
|||
*/ |
|||
@Data |
|||
public class ArticleLatestResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 6953266228209247094L; |
|||
|
|||
/** |
|||
* 文章Id |
|||
* */ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 文章封面图片url |
|||
* */ |
|||
private String articleCoverImg; |
|||
|
|||
/** |
|||
* 文章标题 |
|||
* */ |
|||
private String articleTitle; |
|||
|
|||
/** |
|||
* 发布单位名称 |
|||
* */ |
|||
private String publishName; |
|||
|
|||
/** |
|||
* 发布时间(天级别) 时间戳 |
|||
* */ |
|||
private String publishDate; |
|||
} |
@ -0,0 +1,46 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName ArticleListResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-06-03 10:59 |
|||
*/ |
|||
@Data |
|||
public class ArticleListResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 293527138997974861L; |
|||
/** |
|||
* 文章Id |
|||
* */ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 文章标题 |
|||
* */ |
|||
private String articleTitle; |
|||
|
|||
/** |
|||
* 发布单位名称 |
|||
* */ |
|||
private String publishName; |
|||
|
|||
/** |
|||
* 发布时间(天级别) |
|||
* */ |
|||
private String publishDate; |
|||
|
|||
/** |
|||
* 文章发布内容(只截取前50字) |
|||
* */ |
|||
private String articleContent; |
|||
|
|||
/** |
|||
* 标签名称集合(竖线分隔) |
|||
* */ |
|||
private String tagName; |
|||
|
|||
} |
@ -0,0 +1,19 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 描述一下 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/2 16:44 |
|||
*/ |
|||
@Data |
|||
public class ArticleOperationResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -436748500797911121L; |
|||
private String id; |
|||
private String content; |
|||
private Long createdTime; |
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @CreateTime 2020/6/3 9:41 |
|||
*/ |
|||
@JsonIgnoreProperties(ignoreUnknown = true) |
|||
@Data |
|||
public class CorrelationTagListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 5536953304816455733L; |
|||
|
|||
/** |
|||
* 标签id |
|||
*/ |
|||
private String tagId; |
|||
|
|||
/** |
|||
* 标签名称 |
|||
*/ |
|||
private String tagName; |
|||
} |
@ -0,0 +1,35 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 政府端:选中草稿编辑,获取草稿属性-封面图片 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/3 14:26 |
|||
*/ |
|||
@Data |
|||
public class CoverImgDTO implements Serializable { |
|||
private static final long serialVersionUID = -6735712590479867385L; |
|||
/** |
|||
* 封面Id |
|||
*/ |
|||
private String coverId; |
|||
|
|||
/** |
|||
* 封面url |
|||
*/ |
|||
private String url; |
|||
|
|||
/** |
|||
* 审核状态 |
|||
*/ |
|||
private String auditStatus; |
|||
|
|||
/** |
|||
* 审核理由 |
|||
*/ |
|||
private String auditReason; |
|||
} |
@ -0,0 +1,79 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 政府端:选中草稿编辑,获取草稿属性 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/3 14:15 |
|||
*/ |
|||
@Data |
|||
public class DraftAttrResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 6999941497971286747L; |
|||
|
|||
/** |
|||
* 草稿Id |
|||
*/ |
|||
private String draftId; |
|||
|
|||
/** |
|||
* 封面图片 |
|||
*/ |
|||
private CoverImgDTO coverImg; |
|||
|
|||
/** |
|||
* 标签名称数组, 竖杠分割的标签名称 |
|||
*/ |
|||
private String[] tagNameList; |
|||
|
|||
/** |
|||
* 是否置顶 1是;0 否 |
|||
*/ |
|||
private Integer isTop; |
|||
|
|||
/** |
|||
* 网格Id数组 |
|||
*/ |
|||
private List<String> gridIdList; |
|||
|
|||
/** |
|||
* 发布单位Id |
|||
*/ |
|||
private String publisher; |
|||
|
|||
/** |
|||
* 发布单位名称 |
|||
*/ |
|||
private String publisherName; |
|||
|
|||
/** |
|||
* 发布日期 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|||
private Date publishDate; |
|||
|
|||
/** |
|||
* 标题 |
|||
*/ |
|||
private String title; |
|||
|
|||
/** |
|||
* 发布范围拼接的字符串,顿号隔开 |
|||
*/ |
|||
private String publishRangeDesc; |
|||
|
|||
/** |
|||
* 机关:agency;部门:department;网格:grid |
|||
*/ |
|||
private String publisherType; |
|||
|
|||
@JsonIgnore |
|||
private String tags; |
|||
} |
@ -0,0 +1,45 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 政府端:选中草稿编辑,获取草稿内容返参明细 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/3 13:14 |
|||
*/ |
|||
@Data |
|||
public class DraftContentDetailDTO implements Serializable { |
|||
private static final long serialVersionUID = -415892498226389295L; |
|||
/** |
|||
*内容Id |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 具体内容 |
|||
*/ |
|||
private String content; |
|||
|
|||
/** |
|||
* 内容类型 图片:img;文字:text |
|||
*/ |
|||
private String contentType; |
|||
|
|||
/** |
|||
* 内容序号 |
|||
*/ |
|||
private Integer orderNum; |
|||
|
|||
/** |
|||
* 审核状态 通过:pass;失败:fail |
|||
*/ |
|||
private String auditStatus; |
|||
|
|||
/** |
|||
* 审核理由 |
|||
*/ |
|||
private String auditReason; |
|||
} |
@ -0,0 +1,30 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 政府端:选中草稿编辑,获取草稿内容返参 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/3 13:01 |
|||
*/ |
|||
@Data |
|||
public class DraftContentResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -1310987373261903935L; |
|||
/** |
|||
* |
|||
*/ |
|||
private String draftId; |
|||
/** |
|||
* 标题 |
|||
*/ |
|||
private String title; |
|||
/** |
|||
* 内容 |
|||
*/ |
|||
private List<DraftContentDetailDTO> contentList; |
|||
|
|||
} |
@ -0,0 +1,62 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 政府端:文章预览接口返参DTO |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/5 10:56 |
|||
*/ |
|||
@Data |
|||
public class DraftDetailResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 6156947260878857897L; |
|||
/** |
|||
* 草稿Id |
|||
*/ |
|||
private String draftId; |
|||
|
|||
/** |
|||
* 标题 |
|||
*/ |
|||
private String title; |
|||
|
|||
/** |
|||
* 发布单位名称 |
|||
*/ |
|||
private String publisherName; |
|||
|
|||
/** |
|||
* 发布日期 |
|||
*/ |
|||
@JsonFormat(pattern="yyyy-MM-dd") |
|||
private Date publishDate; |
|||
|
|||
/** |
|||
* 访问量 |
|||
*/ |
|||
private Integer visitRecordCount; |
|||
|
|||
/** |
|||
* 标签字符串 已废弃 |
|||
*/ |
|||
@JsonIgnore |
|||
private String tags; |
|||
|
|||
/** |
|||
* 内容列表 |
|||
*/ |
|||
private List<GovDraftContentDTO> articleContentList; |
|||
|
|||
/** |
|||
* 标签名称数组 |
|||
*/ |
|||
private String[] tagNameList; |
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/6/3 14:44 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class DraftListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -3596277149943610099L; |
|||
/** |
|||
* 文章ID |
|||
*/ |
|||
private String draftId; |
|||
/** |
|||
* 文章标题 |
|||
*/ |
|||
private String title; |
|||
/** |
|||
* 文章内容 |
|||
*/ |
|||
private String content; |
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private Long createdTime; |
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 政府端:(已发布、已下线)文章内容详情 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/3 9:39 |
|||
*/ |
|||
@Data |
|||
public class GovArticleContentDTO implements Serializable { |
|||
private static final long serialVersionUID = 1519014754254863006L; |
|||
/** |
|||
* 内容类型,图片:img;文字:text |
|||
*/ |
|||
private String contentType; |
|||
|
|||
/** |
|||
* 内容 |
|||
*/ |
|||
private String content; |
|||
} |
@ -0,0 +1,69 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 政府端:(已发布、已下线)文章详情 返参DTO |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/6/3 9:29 |
|||
*/ |
|||
@Data |
|||
public class GovArticleDetailResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -8328304788721564622L; |
|||
/** |
|||
* 文章id |
|||
*/ |
|||
private String articleId; |
|||
|
|||
/** |
|||
* 标题 |
|||
*/ |
|||
private String title; |
|||
|
|||
/** |
|||
* 发布单位名称 |
|||
*/ |
|||
private String publisherName; |
|||
|
|||
/** |
|||
* 发布日期 |
|||
*/ |
|||
@JsonFormat(pattern="yyyy-MM-dd") |
|||
private Date publishDate; |
|||
|
|||
/** |
|||
* 访问量 |
|||
*/ |
|||
private Integer visitRecordCount; |
|||
|
|||
/** |
|||
* 发布范围字符串 |
|||
*/ |
|||
private String publishRangeDesc; |
|||
|
|||
/** |
|||
* 标签字符串 |
|||
*/ |
|||
private String tags; |
|||
|
|||
/** |
|||
* 发布状态 已发布:published;已下线:offline |
|||
*/ |
|||
private String statusFlag; |
|||
|
|||
/** |
|||
* 草稿Id,重新编辑时使用 |
|||
*/ |
|||
private String draftId; |
|||
|
|||
/** |
|||
* 内容列表 |
|||
*/ |
|||
private List<GovArticleContentDTO> articleContentList; |
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue