package com.ruoyi.cai.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户来访记录对象 cai_user_visitor
 *
 * @author 77
 * @date 2023-12-24
 */
@Data
@TableName("cai_user_visitor")
public class UserVisitor implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 被访用户ID
     */
    private Long userId;
    /**
     * 访客用户ID
     */
    private Long visitorId;
    /**
     * 是否查看  0 未查看  1 已查看
     */
    private Integer isWatch;

    private LocalDateTime createTime;

}
