package com.matrix.system.hive.bean;
|
|
import java.util.Date;
|
import java.io.Serializable;
|
/**
|
* 文章点赞记录
|
* @date 2016-12-20 14:02
|
*/
|
public class ArticleRecord implements Serializable{
|
|
private static final long serialVersionUID = 1L;
|
|
|
private Long id;
|
|
|
/**
|
* 文章id
|
*/
|
private Long articleId;
|
|
|
/**
|
* 用户id
|
*/
|
private Long userId;
|
|
|
/**
|
* 点赞时间
|
*/
|
private Date time;
|
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id=id;
|
}
|
|
|
public Long getArticleId() {
|
return articleId;
|
}
|
|
public void setArticleId(Long articleId) {
|
this.articleId=articleId;
|
}
|
|
|
public Long getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Long userId) {
|
this.userId=userId;
|
}
|
|
|
public Date getTime() {
|
return time;
|
}
|
|
public void setTime(Date time) {
|
this.time=time;
|
}
|
|
@Override
|
public String toString() {
|
return "ArticleRecord [id=" + id + ", articleId=" + articleId
|
+ ", userId=" + userId + ", time=" + time + "]";
|
}
|
|
|
|
}
|