18 changed files with 429 additions and 64 deletions
@ -0,0 +1,25 @@ |
|||
package com.epmet.dto.result.work; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 获取最近一次编辑的活动内容-返参DTO |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/7/20 21:58 |
|||
*/ |
|||
@Data |
|||
public class ActDraftContentDTOResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 7937967625440168599L; |
|||
/** |
|||
* 内容 |
|||
*/ |
|||
private String content; |
|||
|
|||
/** |
|||
* 内容类型 图片:img;文字:text |
|||
*/ |
|||
private String contentType; |
|||
} |
@ -0,0 +1,166 @@ |
|||
package com.epmet.dto.result.work; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 获取最近一次编辑的活动-返参DTO |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2020/7/20 21:54 |
|||
*/ |
|||
@Data |
|||
public class LatestDraftActInfoResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 4104775168048712734L; |
|||
private String actDraftId; |
|||
/** |
|||
* 客户id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 活动标题 |
|||
*/ |
|||
private String title; |
|||
|
|||
/** |
|||
* 活动封面 |
|||
*/ |
|||
private String coverPic; |
|||
|
|||
/** |
|||
* 报名开始时间 |
|||
*/ |
|||
@JsonFormat(pattern="yyyy-MM-dd HH:mm") |
|||
private Date signUpStartTime; |
|||
|
|||
/** |
|||
* 报名截止时间 |
|||
*/ |
|||
@JsonFormat(pattern="yyyy-MM-dd HH:mm") |
|||
private Date signUpEndTime; |
|||
|
|||
/** |
|||
* 招募要求 |
|||
*/ |
|||
private String requirement; |
|||
|
|||
/** |
|||
* 活动预计开始时间 |
|||
*/ |
|||
@JsonFormat(pattern="yyyy-MM-dd HH:mm") |
|||
private Date actStartTime; |
|||
|
|||
/** |
|||
* 活动预计结束时间 |
|||
*/ |
|||
@JsonFormat(pattern="yyyy-MM-dd HH:mm") |
|||
private Date actEndTime; |
|||
|
|||
/** |
|||
* 活动地点 |
|||
*/ |
|||
private String actAddress; |
|||
|
|||
/** |
|||
* 活动位置经度 |
|||
*/ |
|||
private BigDecimal actLongitude; |
|||
|
|||
/** |
|||
* 活动位置纬度 |
|||
*/ |
|||
private BigDecimal actLatitude; |
|||
|
|||
/** |
|||
* 签到开始时间 |
|||
*/ |
|||
@JsonFormat(pattern="yyyy-MM-dd HH:mm") |
|||
private Date signInStartTime; |
|||
|
|||
/** |
|||
* 签到截止时间 |
|||
*/ |
|||
@JsonFormat(pattern="yyyy-MM-dd HH:mm") |
|||
private Date signInEndTime; |
|||
|
|||
/** |
|||
* 活动签到打卡地点 |
|||
*/ |
|||
private String signInAddress; |
|||
|
|||
/** |
|||
* 活动签到打卡位置经度 |
|||
*/ |
|||
private BigDecimal signInLongitude; |
|||
|
|||
/** |
|||
* 活动签到打卡位置纬度 |
|||
*/ |
|||
private BigDecimal signInLatitude; |
|||
|
|||
/** |
|||
* 活动签到打卡半径(单位:米) |
|||
*/ |
|||
private Integer signInRadius; |
|||
|
|||
/** |
|||
* 活动名额类型(0-不限名额,1-固定名额) |
|||
*/ |
|||
private Boolean actQuotaCategory; |
|||
|
|||
/** |
|||
* 活动名额 |
|||
*/ |
|||
private Integer actQuota; |
|||
|
|||
/** |
|||
* 联系人 |
|||
*/ |
|||
private String sponsorContacts; |
|||
|
|||
/** |
|||
* 联系电话 |
|||
*/ |
|||
private String sponsorTel; |
|||
|
|||
/** |
|||
* 主办方类型:网格主办:grid;组织主办:agency |
|||
*/ |
|||
private String sponsorType; |
|||
|
|||
/** |
|||
* 主办方id(机关或网格的id) |
|||
*/ |
|||
private String sponsorId; |
|||
|
|||
/** |
|||
* 活动主办方名称(机关或网格的名称) |
|||
*/ |
|||
private String sponsorName; |
|||
|
|||
/** |
|||
* 活动奖励积分 |
|||
*/ |
|||
private Integer reward; |
|||
|
|||
/** |
|||
* 身份限制:1只有志愿者才可以参加活动0不限制志愿者身份 |
|||
*/ |
|||
private Boolean volunteerLimit; |
|||
|
|||
/** |
|||
* 审核开关:1报名人员需要人工审核0不需要 |
|||
*/ |
|||
private Boolean auditSwitch; |
|||
|
|||
/** |
|||
* 活动内容- |
|||
*/ |
|||
private List<ActDraftContentDTOResultDTO> actContentList; |
|||
} |
Loading…
Reference in new issue