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

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

/**
 * @author reghao
 * @date 2024-02-05 14:27:32
 */
@NoArgsConstructor
@Setter
@Getter
@Entity
@Table(name = "blog_article_view")
public class ArticleView extends BaseEntity {
    private String articleId;
    private String sessionId;
    private String requestId;

    public ArticleView(String articleId, String sessionId, String requestId) {
        this.articleId = articleId;
        this.sessionId = sessionId;
        this.requestId = requestId;
    }
}
