From bbda2ee1af4e86d76f93e00386d77efb56c60d5f Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期六, 23 七月 2022 15:42:06 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActivityDO.java | 82 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActivityDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActivityDO.java index e6e80bd..411daad 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActivityDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActivityDO.java @@ -4,6 +4,7 @@ import java.util.Date; import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; @@ -25,7 +26,7 @@ /** * 自增id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -173,4 +174,83 @@ * 活动是否已默认好评 */ private Integer isDefaultPraise; + /** + * 签到范围,默认0无限制 + */ + @TableField("`range`") + private Integer range; + /** + * 是否有积分奖励(1.是 2.否) + */ + private Integer haveIntegralReward; + /** + * 积分奖励方式(1.按次奖励 2.记时奖励) + */ + @TableField(updateStrategy = FieldStrategy.IGNORED) + private Integer rewardWay; + /** + * 奖励积分 + */ + private Integer rewardIntegral; + /** + * 参与次数上限 + */ + @TableField("`limit`") + private Integer limit; + /** + * 是否允许取消(1.允许 2.不允许) + */ + private Integer canCancel; + /** + * 取消扣除积分 + */ + private Integer cancelDeduct; + /** + * 活动类型 + */ + private String activityType; + + /** + * 是否项目 + */ + private Integer isProject; + + /** + * 项目id + */ + private Long projectId; + + /** + * 1志愿者活动 2居民活动 3党员活动 4项目活动 + */ + private Integer type; + + /** + * 党员参与者人数下线 + */ + private Integer partyMemberMin; + + /** + * 党员参与者人数上限 + */ + private Integer partyMemberMax; + /** + * 签退范围,默认0无限制 + */ + private Integer signOutRange; + + /** + * 单次活动时长(小时) + */ + private Integer duration; + + private Integer isArticle; + + private String jumpArticleUrl; + + private Long relationId; + + private String phone; + + private Long checkUnitId; } -- Gitblit v1.7.1