模态框跟换为layx,代码优化,新建帖子时可新建标签

This commit is contained in:
yaoyuan2.chu
2020-11-09 23:25:33 +08:00
parent d343255e09
commit 3663f44989
34 changed files with 1274 additions and 555 deletions
@@ -0,0 +1,62 @@
package com.yaoyuan.jiscuss.entity;
import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
/**
* @author yaoyuan2.chu
* @Title:
* @Package com.yaoyuan.jiscuss.entity
* @Description:
* @date 2020/10/21 12:00
*/
@Data
@Entity
@Table(name="likecollect")
public class LikeCollect implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@Column(name="discussion_id")
private Integer discussionId;
@Column(name="discussion_name")
private String discussionName;
@Column(name="tag_id")
private Integer tagId;
@Column(name="post_id")
private Integer postId;
@Column(name="post_content")
private String postContent;
@Column(name="user_id")
private Integer userId;
@Column(name="user_name")
private String userName;
@Column(name="type")
private String type;
@Column(name="like_type")
private String likeType;
@Column(name="collect_type")
private String collectType;
@Column(name="create_id")
private Integer createId;
@Column(name="create_time")
private Date createTime;
}