diff --git a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/form/ActivityDetailFormDTO.java b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/form/ActivityDetailFormDTO.java new file mode 100644 index 0000000..a8b4fd6 --- /dev/null +++ b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/form/ActivityDetailFormDTO.java @@ -0,0 +1,48 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.elink.esua.epdc.dto.activity.form; + +import lombok.Data; + +import javax.validation.constraints.NotBlank; +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 社区活动信息表 + * + * @author zhangyuan qu@elink-cn.com + * @since v1.0.0 2020-06-22 + */ +@Data +public class ActivityDetailFormDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + @NotBlank(message = "活动ID不能为空") + private String activityId; + + /** + * 用户ID + */ + private String userId; +} \ No newline at end of file diff --git a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/result/ActivityDetailResultDTO.java b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/result/ActivityDetailResultDTO.java new file mode 100644 index 0000000..cf7570a --- /dev/null +++ b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/activity/result/ActivityDetailResultDTO.java @@ -0,0 +1,107 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.elink.esua.epdc.dto.activity.result; + +import lombok.Data; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * 社区活动信息表 + * + * @author zhangyuan qu@elink-cn.com + * @since v1.0.0 2020-06-22 + */ +@Data +public class ActivityDetailResultDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 标题 + */ + private String title; + + /** + * 活动开始时间 + */ + private Date actStartTime; + + /** + * 活动结束时间 + */ + private Date actEndTime; + + /** + * 活动地点 + */ + private String actAddress; + + /** + * 是否限制名额(0-不限名额,1-固定名额) + */ + private String actQuotaFlag; + + /** + * 活动名额 + */ + private Integer actQuota; + + /** + * 报名截止时间 + */ + private Date signUpEndTime; + + /** + * 已报名人数 + */ + private Integer signUpNum; + + /** + * 当前用户是否已报名此活动 + */ + private String signUpFlag; + + /** + * 联系人 + */ + private String contacts; + + /** + * 联系电话 + */ + private String tel; + + /** + * 招募要求 + */ + private String requirement; + + /** + * 活动内容 + */ + private String actContent; + +} \ No newline at end of file