package com.panzhihua.service_community.model.dos;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
|
/**
|
* @auther lyq
|
* @create 2021-06-25 10:34:36
|
* @describe 用户参加随手拍活动记录表实体类
|
*/
|
|
@Data
|
@TableName("com_act_easy_photo_activity_record")
|
public class ComActEasyPhotoActivityRecordDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 参加活动用户id
|
*/
|
private Long userId;
|
|
/**
|
* 活动id
|
*/
|
private Long activityId;
|
|
/**
|
* 社区id
|
*/
|
private Long communityId;
|
|
/**
|
* 随手拍id
|
*/
|
private Long easyId;
|
|
/**
|
* 活动奖励类型(1.优质 2.精良 3.普通)
|
*/
|
private Integer type;
|
|
/**
|
* 奖励金额
|
*/
|
private BigDecimal rewardAmount;
|
|
/**
|
* 参加活动时间
|
*/
|
private Date joinAt;
|
|
/**
|
* 创建时间
|
*/
|
private Date createAt;
|
|
@Override
|
public String toString() {
|
return "ComActEasyPhotoActivityRecordDO{" +
|
"id=" + id +
|
", userId=" + userId +
|
", activityId=" + activityId +
|
", communityId=" + communityId +
|
", easyId=" + easyId +
|
", type=" + type +
|
", rewardAmount=" + rewardAmount +
|
", joinAt=" + joinAt +
|
", createAt=" + createAt +
|
"}";
|
}
|
}
|