Browse Source

Merge remote-tracking branch 'origin/feature/phaseOne'

master
liuchuang 4 years ago
parent
commit
f07a9ab023
  1. 140
      epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/PartyOrgDTO.java
  2. 91
      epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/PartyOrgTypeDTO.java
  3. 25
      epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/PartyOrgTypeSelectDTO.java
  4. 28
      epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/RoleModuleRealationDTO.java
  5. 5
      epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/SysRoleDTO.java
  6. 16
      epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/ModuleOption.java
  7. 33
      epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/ModuleOptionDTO.java
  8. 63
      epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/ModuleTypeCategoryDTO.java
  9. 99
      epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/ModuleTypeDTO.java
  10. 26
      epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/NoticeDTO.java
  11. 82
      epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/RoleModuleDTO.java

140
epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/PartyOrgDTO.java

@ -0,0 +1,140 @@
/**
* 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.elink.esua.epdc.dto;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 党组织表 党组织表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2021-08-06
*/
@Data
public class PartyOrgDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 标识号
*/
private String id;
/**
* 党组织名称
*/
private String partyOrgName;
/**
* 党组织介绍
*/
private String introduction;
/**
* 两委干部
*/
private String twoCommittees;
/**
* 党员数量
*/
private Integer partyMemberNum;
/**
* 经度
*/
private String longitude;
/**
* 纬度
*/
private String latitude;
/**
* 所属组织名称
*/
private String deptName;
/**
* 所属组织ID
*/
private String deptId;
/**
* 党组织类型编码
*/
private String typeCode;
/**
* 父所有部门ID
*/
private String parentDeptIds;
/**
* 父所有部门名称
*/
private String parentDeptNames;
/**
* 所有部门ID
*/
private String allDeptIds;
/**
* 所有部门名称
*/
private String allDeptNames;
/**
* 删除标识 0-1-
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
/**
* 所有部门ID用于回显修改页面的下拉选项
*/
private String[] allDeptIdArr;
}

91
epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/PartyOrgTypeDTO.java

@ -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.elink.esua.epdc.dto;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 党组织类型表 党组织类型表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2021-08-06
*/
@Data
public class PartyOrgTypeDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 标识号
*/
private String id;
/**
* 类型名称
*/
private String typeName;
/**
* 类型编码
*/
private String typeCode;
/**
* 排序
*/
private Integer sort;
/**
* 启用标识 0-1-
*/
private String enable;
/**
* 删除标识 0-1-
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

25
epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/PartyOrgTypeSelectDTO.java

@ -0,0 +1,25 @@
package com.elink.esua.epdc.dto;
import lombok.Data;
import java.io.Serializable;
/**
* @auther: zhangyong
* @date: 2021-08-06 15:25
*/
@Data
public class PartyOrgTypeSelectDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 类型名称
*/
private String tagName;
/**
* 类型编码
*/
private String tagValue;
}

28
epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/RoleModuleRealationDTO.java

@ -0,0 +1,28 @@
package com.elink.esua.epdc.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* @program: epdc-cloud-admin-yushan
* @description:
* @author: wangtong
* @create: 2021-08-11 15:43
**/
@Data
public class RoleModuleRealationDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 角色id
*/
private Long id;
/**
* 内容栏目ID列表
*/
private List<Long> moduleMenuIdList;
}

5
epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/SysRoleDTO.java

@ -87,4 +87,9 @@ public class SysRoleDTO implements Serializable {
* 吹哨部门id列表 * 吹哨部门id列表
*/ */
private List<Long> whistleDeptIdList; private List<Long> whistleDeptIdList;
/**
* 内容栏目ID列表
*/
private List<Long> moduleMenuIdList;
} }

16
epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/ModuleOption.java

@ -0,0 +1,16 @@
package com.elink.esua.epdc.dto;
import lombok.Data;
import java.util.List;
/**
* 栏目节点
*
*/
@Data
public class ModuleOption<T> {
private List<T> moduleOptions;
}

33
epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/ModuleOptionDTO.java

@ -0,0 +1,33 @@
package com.elink.esua.epdc.dto;
import com.elink.esua.epdc.commons.tools.utils.TreeNode;
import lombok.Data;
import java.io.Serializable;
/**
* @program: epdc-cloud-news-yushan
* @description:
* @author: wangtong
* @create: 2021-08-10 14:49
**/
@Data
public class ModuleOptionDTO extends TreeNode implements Serializable {
private Long id;
private Long pid;
/**
* 栏目名称
*/
private String label;
/**
*栏目id
*/
private Long value;
}

63
epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/ModuleTypeCategoryDTO.java

@ -0,0 +1,63 @@
package com.elink.esua.epdc.dto;
import com.elink.esua.epdc.commons.tools.utils.TreeNode;
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup;
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup;
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup;
import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
/**
* @program: epdc-cloud-news-yushan
* @description: 栏目管理树
* @author: wangtong
* @create: 2021-08-09 16:18
**/
@Data
public class ModuleTypeCategoryDTO extends TreeNode implements Serializable {
private static final long serialVersionUID = 1L;
/**
* id
*/
@Null(message = "{id.null}", groups = AddGroup.class)
@NotNull(message = "{id.require}", groups = UpdateGroup.class)
private Long id;
/**
* 上级分类ID
*/
@NotNull(message = "{sysdept.pid.require}", groups = DefaultGroup.class)
private Long pid;
/**
* 分类名称
*/
@NotBlank(message = "{sysdept.name.require}", groups = DefaultGroup.class)
private String typeName;
/**
* 分类编码
*/
private String typeCode;
/**
* 排序
*/
@Min(value = 0, message = "{sort.number}", groups = DefaultGroup.class)
private Integer sort;
private String parentName;
private String value;
private String label;
}

99
epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/ModuleTypeDTO.java

@ -0,0 +1,99 @@
/**
* 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.elink.esua.epdc.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 模块类别管理
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2021-08-10
*/
@Data
public class ModuleTypeDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 标识号
*/
private Long id;
/**
* 上级ID
*/
private Long pid;
/**
* 所有上级ID 逗号分隔
*/
private String pids;
/**
* 类别名称
*/
private String typeName;
/**
* 类别编码
*/
private String typeCode;
/**
* 排序
*/
private Integer sort;
/**
* 启用标识 0-1-
*/
private String bannerFlag;
/**
* 删除标识 0未删除 1删除
*/
private Integer delFlag;
/**
* 创建者
*/
private Long creator;
/**
* 创建时间
*/
private Date createDate;
/**
* 更新者
*/
private Long updater;
/**
* 更新时间
*/
private Date updateDate;
private String parentName;
}

26
epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/NoticeDTO.java

@ -17,12 +17,12 @@
package com.elink.esua.epdc.dto; package com.elink.esua.epdc.dto;
import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import lombok.Data;
/** /**
* 通知表 * 通知表
@ -140,4 +140,26 @@ public class NoticeDTO implements Serializable {
*/ */
private String extendFlag; private String extendFlag;
/**
* 栏目id
*/
private String typeId;
/**
* 所有栏目id
*/
private List<String> allTypeId;
/**
* 置顶标识 0-1-
*/
private String topFlag;
/**
* 上下架状态 0-下架1-上架
*/
private String noticeUpDownState;
private String typeName;
} }

82
epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/RoleModuleDTO.java

@ -0,0 +1,82 @@
/**
* 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.elink.esua.epdc.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 角色栏目关系表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2021-08-09
*/
@Data
public class RoleModuleDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 标识号
*/
private String id;
/**
* 角色ID
*/
private Long roleId;
/**
* 栏目ID
*/
private Long moduleId;
/**
* 删除标识 0-1-
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}
Loading…
Cancel
Save