package com.panzhihua.service_community.model.dos;
|
|
import java.io.Serializable;
|
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;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
/**
|
* @program: springcloud_k8s_panzhihuazhihuishequ
|
* @description: 社区活动
|
* @author: huang.hongfa weixin hhf9596 qq 959656820
|
* @create: 2020-12-07 13:56
|
**/
|
@Data
|
@TableName(value = "com_act_activity")
|
public class ComActActivityDO implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 自增id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/**
|
* 活动名称
|
*/
|
private String activityName;
|
|
/**
|
* 负责人userID
|
*/
|
private Long sponsorId;
|
|
/**
|
* 活动地址
|
*/
|
private String activityAddr;
|
|
/**
|
* 纬度
|
*/
|
private String lat;
|
|
/**
|
* 经度
|
*/
|
private String lng;
|
|
/**
|
* 活动状态
|
*/
|
private Integer status;
|
|
/**
|
* 发布时间
|
*/
|
private Date publishAt;
|
|
/**
|
* 活动结束时间
|
*/
|
private Date endAt;
|
|
/**
|
* 活动开始时间
|
*/
|
private Date beginAt;
|
|
/**
|
* 报名开始时间
|
*/
|
private Date signUpBegin;
|
|
/**
|
* 报名结束时间
|
*/
|
private Date signUpEnd;
|
|
/**
|
* 参加人群
|
*/
|
private String aattendPeople;
|
|
|
/**
|
* 志愿者人数下线
|
*/
|
private Integer volunteerMin;
|
|
/**
|
* 志愿者人数上限
|
*/
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
private Integer volunteerMax;
|
|
/**
|
* 参与者人数下线
|
*/
|
private Integer participantMin;
|
|
/**
|
* 参与者人数上限
|
*/
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
private Integer participantMax;
|
|
/**
|
* 活动封面
|
*/
|
private String cover;
|
|
/**
|
* 是否有奖品 1 有 0 无
|
*/
|
private Integer hasPrize;
|
|
/**
|
* 是否二维码签到 1 是 0否
|
*/
|
private Integer isQrCode;
|
|
/**
|
* 联系人姓名
|
*/
|
private String contactName;
|
|
/**
|
* 联系人电话
|
*/
|
private String contactPhone;
|
|
/**
|
* 是否签到 1 是 0否
|
*/
|
private Integer isRegist;
|
|
/**
|
* 是否顶部 1 是 0否
|
*/
|
private Integer isTop;
|
|
/**
|
* 奖品备注
|
*/
|
private String prizeRemark;
|
/**
|
* 奖励说明
|
*/
|
private String rewardDesc;
|
/**
|
* 活动内容
|
*/
|
private String content;
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Date createAt;
|
/**
|
* 取消原因
|
*/
|
private String cancelReason;
|
/**
|
* 社区id
|
*/
|
private Long communityId;
|
/**
|
* 活动是否已默认好评
|
*/
|
private Integer isDefaultPraise;
|
/**
|
* 签到范围,默认0无限制
|
*/
|
@TableField("`range`")
|
private Integer range;
|
/**
|
* 是否有积分奖励(1.是 2.否)
|
*/
|
private Integer haveIntegralReward;
|
/**
|
* 居民积分奖励方式(1.按次奖励 2.记时奖励)
|
*/
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
private Integer participantRewardWay;
|
|
/**
|
* 居民参与签到/打卡奖励积分
|
*/
|
private Integer participantRewardIntegral;
|
|
/**
|
* 志愿者积分奖励方式(1.按次奖励 2.记时奖励)
|
*/
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
private Integer volunteerRewardWay;
|
|
/**
|
* 志愿者参与签到/打卡奖励积分
|
*/
|
private Integer volunteerRewardIntegral;
|
|
/**
|
* 党员积分奖励方式(1.按次奖励 2.记时奖励)
|
*/
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
private Integer pbRewardWay;
|
|
/**
|
* 党员参与签到/打卡奖励积分
|
*/
|
private Integer pbRewardIntegral;
|
|
/**
|
* 参与次数上限
|
*/
|
@TableField("`limit`")
|
private Integer limit;
|
/**
|
* 是否允许取消(1.允许 2.不允许)
|
*/
|
private Integer canCancel;
|
/**
|
* 取消扣除积分
|
*/
|
private Integer cancelDeduct;
|
/**
|
* 活动类型
|
*/
|
private String activityType;
|
|
/**
|
* 是否项目
|
*/
|
private Integer isProject;
|
|
/**
|
* 项目id
|
*/
|
private Long projectId;
|
|
/**
|
* 活动类型 1 社区活动 4项目活动 5服务活动
|
*/
|
private Integer type;
|
|
/**
|
* 党员参与者人数下线
|
*/
|
private Integer partyMemberMin;
|
|
/**
|
* 党员参与者人数上限
|
*/
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
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;
|
|
private Long topicId;
|
|
private String jinhuiCoinAward;
|
|
private String jinhuiCoinPunishment;
|
}
|