package com.panzhihua.service_community.model.dos;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.Data;
|
|
/**
|
* @auther lyq
|
* @create 2021-07-23 14:30:03
|
* @describe 用户随手拍奖励表实体类
|
*/
|
|
@Data
|
@TableName("com_act_easy_photo_reward")
|
public class ComActEasyPhotoRewardDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/**
|
* 用户id
|
*/
|
private Long userId;
|
|
/**
|
* 社区id
|
*/
|
private Long communityId;
|
|
/**
|
* 是否已读(1.是 2.否)
|
*/
|
private Integer isRead;
|
|
/**
|
* 奖励金额
|
*/
|
private BigDecimal amount;
|
|
/**
|
* 创建时间
|
*/
|
private Date createAt;
|
|
/**
|
* 修改时间
|
*/
|
private Date updateAt;
|
|
@Override
|
public String toString() {
|
return "ComActEasyPhotoRewardDO{" + "id=" + id + ", userId=" + userId + ", communityId=" + communityId
|
+ ", isRead=" + isRead + ", amount=" + amount + ", createAt=" + createAt + ", updateAt=" + updateAt + "}";
|
}
|
|
/**
|
* 是否已读(1.是 2.否)
|
*/
|
public interface isRead {
|
int yes = 1;
|
int no = 2;
|
}
|
}
|