package cn.reghao.tnb.search.esapp.blog.model.po;

import cn.reghao.tnb.search.esapp.util.BaseEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author reghao
 * @date 2023-11-03 23:28:39
 */
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@Entity
@Table(name = "blog_article_tag")
public class ArticleTag extends BaseEntity {
    @Column(nullable = false)
    private String articleId;
    @Column(nullable = false)
    private Integer tagId;
}
