Browse Source

内容管理代码生成

master
Jackwang 4 years ago
parent
commit
ad8182b459
  1. 101
      epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/ModuleTypeDTO.java
  2. 19
      epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/NoticeDTO.java
  3. 82
      epdc-cloud-news-client/src/main/java/com/elink/esua/epdc/dto/RoleModuleDTO.java

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

@ -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.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-09
*/
@Data
public class ModuleTypeDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 标识号
*/
private String id;
/**
* 上级ID
*/
private String pid;
/**
* 所有上级ID 逗号分隔
*/
private String pids;
/**
* 类别名称
*/
private String typeName;
/**
* 类别编码
*/
private String typeCode;
/**
* 排序
*/
private Integer sort;
/**
* 启用标识 0-1-
*/
private String bannerFlag;
/**
* 删除标识 0-1-
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

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

@ -17,12 +17,12 @@
package com.elink.esua.epdc.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
* 通知表
@ -140,4 +140,19 @@ public class NoticeDTO implements Serializable {
*/
private String extendFlag;
/**
* 类别编码
*/
private String typeCode;
/**
* 置顶标识 0-1-
*/
private String topFlag;
/**
* 上下架状态 0-下架1-上架
*/
private String noticeUpDownState;
}

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 String roleId;
/**
* 栏目ID
*/
private String moduleId;
/**
* 删除标识 0-1-
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}
Loading…
Cancel
Save