mirror of https://github.com/halo-dev/halo
Add top priority property in Comment entity
parent
a2335bb9a2
commit
dfec650f79
|
@ -89,6 +89,12 @@ public class Comment extends BaseEntity {
|
||||||
@Column(name = "post_id", columnDefinition = "int not null")
|
@Column(name = "post_id", columnDefinition = "int not null")
|
||||||
private Integer postId;
|
private Integer postId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否置顶
|
||||||
|
*/
|
||||||
|
@Column(name = "top_priority", columnDefinition = "int default 0")
|
||||||
|
private Integer topPriority;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 上级评论
|
* 上级评论
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue