10 changed files with 281 additions and 44 deletions
@ -0,0 +1,42 @@ |
|||
package com.epmet.commons.tools.dto.form; |
|||
|
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/12/21 15:37 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class FileCommonDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -5307959406648243353L; |
|||
/** |
|||
* 文件名 |
|||
*/ |
|||
private String name; |
|||
/** |
|||
* url地址 |
|||
*/ |
|||
private String url; |
|||
/** |
|||
* 文件类型(图片 - image、 视频 - video、 语音 - voice、 文档 - doc) |
|||
*/ |
|||
private String type; |
|||
/** |
|||
* 后缀名 |
|||
*/ |
|||
private String format; |
|||
/** |
|||
* 文件大小 kb |
|||
*/ |
|||
private Integer size; |
|||
/** |
|||
* 语音或视频文件时长,单位秒 |
|||
*/ |
|||
private Integer duration; |
|||
} |
@ -0,0 +1,141 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.commons.tools.dto.form.FileCommonDTO; |
|||
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 2021/4/29 9:30 |
|||
*/ |
|||
@Data |
|||
public class ActDetailGovResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 3982724635100043221L; |
|||
|
|||
private String groupActId; |
|||
|
|||
/** |
|||
* 小组id |
|||
*/ |
|||
private String groupId; |
|||
|
|||
/** |
|||
* 活动标题; |
|||
*/ |
|||
private String title; |
|||
|
|||
/** |
|||
* 活动时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private Date startTime; |
|||
|
|||
/** |
|||
* 活动所属类别编码 |
|||
*/ |
|||
private String categoryCode; |
|||
|
|||
/** |
|||
* 上级类别编码 |
|||
*/ |
|||
private String parentCode; |
|||
|
|||
private String menuCode; |
|||
|
|||
/** |
|||
* 活动类别名称;eg:支部建设-三会一课 |
|||
*/ |
|||
private String allCategoryName; |
|||
|
|||
/** |
|||
* 活动地点 |
|||
*/ |
|||
private String address; |
|||
|
|||
/** |
|||
* 应参加人数组长填入;此列也是应签到人数; |
|||
*/ |
|||
private Integer shouldAttend; |
|||
|
|||
/** |
|||
* 活动状态:已发布:published;已取消:canceled;已变更:changed;已关闭:closed |
|||
*/ |
|||
private String status; |
|||
|
|||
/** |
|||
* 签到开始时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date signInStartTime; |
|||
|
|||
/** |
|||
* 签到截止时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date signInEndTime; |
|||
|
|||
/** |
|||
* 是否填写总结?1:已填写;0:未填写 |
|||
*/ |
|||
private Integer summaryFlag; |
|||
|
|||
/** |
|||
* 取消时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private Date canceledTime; |
|||
|
|||
/** |
|||
* 关闭时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private Date closedTime; |
|||
|
|||
/** |
|||
* 活动发布人用户id |
|||
*/ |
|||
private String publishUserId; |
|||
|
|||
/** |
|||
* 内容列表 |
|||
*/ |
|||
private List<String> textList; |
|||
|
|||
/** |
|||
* 图片列表 |
|||
*/ |
|||
private List<String> imgArrayList; |
|||
|
|||
/** |
|||
* 图片列表,最多3张 |
|||
*/ |
|||
private List<FileCommonDTO> imgList; |
|||
|
|||
//以下字段需要单独赋值
|
|||
/** |
|||
* 取消原因 |
|||
*/ |
|||
private String canceledReason; |
|||
|
|||
/** |
|||
* 已签到人数(有人签到自动+1) |
|||
*/ |
|||
private Integer signedInNum; |
|||
|
|||
/** |
|||
* 网格id |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 客户id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
} |
Loading…
Reference in new issue