package com.matrix.system.hive.bean;
|
|
import java.util.Date;
|
import java.io.Serializable;
|
/**
|
*
|
* @date 2016-07-15 16:26
|
*/
|
public class Article implements Serializable{
|
|
private static final long serialVersionUID = 1L;
|
|
|
private Long id;
|
|
|
/**
|
* 文章类型id
|
*/
|
private Long typeId;
|
|
|
/**
|
* 文章作者
|
*/
|
private String articleAuthor;
|
|
|
/**
|
* 标题
|
*/
|
private String title;
|
|
|
/**
|
* 是否发布状态 (y:发布 , n:未发布)
|
*/
|
private String isPublish;
|
|
|
/**
|
* 摘要
|
*/
|
private String articleAbstract;
|
|
|
/**
|
* 内容
|
*/
|
private String content;
|
|
|
/**
|
* 展示图片
|
*/
|
private String image;
|
|
|
/**
|
* 排序
|
*/
|
private Integer sort;
|
|
|
/**
|
* 创建时间
|
*/
|
private Date createtiem;
|
|
|
/**
|
* 链接地址(预留)
|
*/
|
private String url;
|
/**
|
* 点赞数量
|
*/
|
private Integer likeNumber;
|
/**
|
* 文章分类
|
*/
|
private String classify;
|
/**
|
* 文章类型名称
|
* 额外属性
|
*/
|
private String articleTypeName;
|
|
private String type;
|
/**
|
* 评论数量
|
*/
|
private Integer commentNum;
|
|
private Long shopId;
|
|
public Long getShopId() {
|
return shopId;
|
}
|
|
public void setShopId(Long shopId) {
|
this.shopId = shopId;
|
}
|
|
public Integer getCommentNum() {
|
return commentNum;
|
}
|
|
public void setCommentNum(Integer commentNum) {
|
this.commentNum = commentNum;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getArticleTypeName() {
|
return articleTypeName;
|
}
|
|
public void setArticleTypeName(String articleTypeName) {
|
this.articleTypeName = articleTypeName;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id=id;
|
}
|
|
|
public Long getTypeId() {
|
return typeId;
|
}
|
|
public void setTypeId(Long typeId) {
|
this.typeId=typeId;
|
}
|
|
public String getArticleAuthor() {
|
return articleAuthor;
|
}
|
|
public void setArticleAuthor(String articleAuthor) {
|
this.articleAuthor = articleAuthor;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title=title;
|
}
|
|
|
public String getIsPublish() {
|
return isPublish;
|
}
|
|
public void setIsPublish(String isPublish) {
|
this.isPublish=isPublish;
|
}
|
|
|
public String getArticleAbstract() {
|
return articleAbstract;
|
}
|
|
public void setArticleAbstract(String articleAbstract) {
|
this.articleAbstract=articleAbstract;
|
}
|
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content=content;
|
}
|
|
|
public String getImage() {
|
return image;
|
}
|
|
public void setImage(String image) {
|
this.image=image;
|
}
|
|
|
public Integer getSort() {
|
return sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort=sort;
|
}
|
|
|
public Date getCreatetiem() {
|
return createtiem;
|
}
|
|
public void setCreatetiem(Date createtiem) {
|
this.createtiem=createtiem;
|
}
|
|
|
public String getUrl() {
|
return url;
|
}
|
|
public void setUrl(String url) {
|
this.url=url;
|
}
|
|
|
public Integer getLikeNumber() {
|
return likeNumber;
|
}
|
|
public void setLikeNumber(Integer likeNumber) {
|
this.likeNumber = likeNumber;
|
}
|
|
public String getClassify() {
|
return classify;
|
}
|
|
public void setClassify(String classify) {
|
this.classify = classify;
|
}
|
|
@Override
|
public String toString() {
|
return "Article [id=" + id + ", typeId=" + typeId + ", articleAuthor="
|
+ articleAuthor + ", title=" + title + ", isPublish="
|
+ isPublish + ", articleAbstract=" + articleAbstract
|
+ ", content=" + content + ", image=" + image + ", sort="
|
+ sort + ", createtiem=" + createtiem + ", url=" + url
|
+ ", articleTypeName=" + articleTypeName + "]";
|
}
|
|
|
}
|