package com.luojia_channel.modules.interact.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Data
@TableName("follow")
@Schema(description = "关注表")
public class Follow implements Serializable {


    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @Schema(
            description = "用户id"
    )
    private Long userId;

    /**
     * 关联的用户id
     */
    @Schema(
            description = "关联的用户id"
    )
    private Long followUserId;

    /**
     * 创建时间
     */
    @Schema(
            description = "创建时间"
    )
    private LocalDateTime createTime;


}
