package com.kexue.skills.entity;

import java.util.Date;

/**
 * CMS内容查看记录实体类
 * 
 * @author 王志维
 * @since 2026-01-26
 */
public class CmsContentView {
    /**
     * 查看记录ID
     */
    private Long viewId;
    
    /**
     * 用户ID
     */
    private Long userId;
    
    /**
     * 用户名
     */
    private String userName;
    
    /**
     * 内容ID
     */
    private Long contentId;
    
    /**
     * 内容标题
     */
    private String contentTitle;
    
    /**
     * 查看时间
     */
    private Date viewTime;
    
    /**
     * 删除标志：0未删除，1已删除
     */
    private Integer deleteFlag;
    
    /**
     * 创建人
     */
    private String createBy;
    
    /**
     * 更新人
     */
    private String updateBy;
    
    // getter和setter方法
    public Long getViewId() {
        return viewId;
    }
    
    public void setViewId(Long viewId) {
        this.viewId = viewId;
    }
    
    public Long getUserId() {
        return userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    
    public String getUserName() {
        return userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    public Long getContentId() {
        return contentId;
    }
    
    public void setContentId(Long contentId) {
        this.contentId = contentId;
    }
    
    public String getContentTitle() {
        return contentTitle;
    }
    
    public void setContentTitle(String contentTitle) {
        this.contentTitle = contentTitle;
    }
    
    public Date getViewTime() {
        return viewTime;
    }
    
    public void setViewTime(Date viewTime) {
        this.viewTime = viewTime;
    }
    
    public Integer getDeleteFlag() {
        return deleteFlag;
    }
    
    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
    
    public String getCreateBy() {
        return createBy;
    }
    
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    
    public String getUpdateBy() {
        return updateBy;
    }
    
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
}