Browse Source

社区讲坛以及分类dto

master
zhangyuan 6 years ago
parent
commit
5f69c4d95a
  1. 192
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/ActivityInfoDTO.java
  2. 131
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/ActivityParticipantDTO.java
  3. 106
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/section/SectionCategoryDTO.java

192
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/ActivityInfoDTO.java

@ -0,0 +1,192 @@
/**
* 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.activity;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import java.math.BigDecimal;
/**
* 社区活动信息表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-06-22
*/
@Data
public class ActivityInfoDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 标题
*/
private String title;
/**
* 活动头图
*/
private String headPic;
/**
* 所属版块编码
*/
private String sectionCode;
/**
* 所属类别编码
*/
private String categoryCode;
/**
* 所属类别名称
*/
private String categoryName;
/**
* 报名开始时间
*/
private Date signupStartTime;
/**
* 报名截止时间
*/
private Date signupEndTime;
/**
* 活动开始时间
*/
private Date actStartTime;
/**
* 活动结束时间
*/
private Date actEndTime;
/**
* 活动地点
*/
private String actAddress;
/**
* 活动位置经度
*/
private BigDecimal actLongitude;
/**
* 活动位置纬度
*/
private BigDecimal actLatitude;
/**
* 是否限制名额(0-不限名额1-固定名额)
*/
private String actQuotaFlag;
/**
* 活动名额
*/
private Integer actQuota;
/**
* 已报名人数
*/
private Integer signupNum;
/**
* 联系人
*/
private String contacts;
/**
* 联系电话
*/
private String tel;
/**
* 招募要求
*/
private String requirement;
/**
* 活动内容
*/
private String actContent;
/**
* 活动发布状态0-下架1上架
*/
private String actStatus;
/**
* 活动下架原因
*/
private String cancelReason;
/**
* 活动发布时间
*/
private Date publishTime;
/**
* 活动主办方
*/
private String sponsor;
/**
* 创建部门ID
*/
private Long deptId;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
/**
* 删除标识
*/
private String delFlag;
}

131
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/ActivityParticipantDTO.java

@ -0,0 +1,131 @@
/**
* 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.activity;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 用户活动关系表
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-06-22
*/
@Data
public class ActivityParticipantDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 活动ID
*/
private String actId;
/**
* 用户ID
*/
private String userId;
/**
* 用户昵称
*/
private String nickname;
/**
* 用户头像
*/
private String faceImg;
/**
* 党员标识0-1-
*/
private String partyFlag;
/**
* 报名人真实姓名
*/
private String realName;
/**
* 性别(0-1-)
*/
private String sex;
/**
* 年龄
*/
private Integer age;
/**
* 联系电话
*/
private String mobile;
/**
* 身份证号
*/
private String identityNo;
/**
* 未通过原因仅当未通过时录入并读取
*/
private String failureReason;
/**
* 报名时间
*/
private Date signUpTime;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
/**
* 删除标记
*/
private String delFlag;
}

106
epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/section/SectionCategoryDTO.java

@ -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.elink.esua.epdc.dto.section;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 微笑榆山相关类别管理
*
* @author zhangyuan qu@elink-cn.com
* @since v1.0.0 2020-06-22
*/
@Data
public class SectionCategoryDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 分类名称
*/
private String name;
/**
* 分类编码
*/
private String code;
/**
* 所属版块编码数据字典类型function_setcion
*/
private String sectionCode;
/**
* 前端样式
*/
private String frontStyle;
/**
* 显示排序正序
*/
private Integer sort;
/**
* 扩展字段在业务中说明含义
*/
private String extend;
/**
* 备注
*/
private String remark;
/**
* 删除标记 0未删除1已删除
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}
Loading…
Cancel
Save