|
@ -3,6 +3,7 @@ package com.yihu.jw.entity.hospital.article;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.yihu.jw.entity.UuidIdentityEntity;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.Table;
|
|
|
import javax.persistence.Transient;
|
|
@ -40,6 +41,7 @@ public class KnowledgeArticleDO extends UuidIdentityEntity {
|
|
|
private Integer readCount;//已读数
|
|
|
private Integer collection;//收藏数量
|
|
|
private Integer fabulous;//点赞数量
|
|
|
@Column(name = "is_share")
|
|
|
private Integer share;//分享 数量
|
|
|
private String intro;//简介
|
|
|
|
|
@ -233,6 +235,7 @@ public class KnowledgeArticleDO extends UuidIdentityEntity {
|
|
|
this.fabulous = fabulous;
|
|
|
}
|
|
|
|
|
|
@Column(name = "is_share")
|
|
|
public Integer getShare() {
|
|
|
return share;
|
|
|
}
|