package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 发现
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-02-06
|
*/
|
@TableName("t_like")
|
@Data
|
public class Like extends Model<Like> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 发布用户id
|
*/
|
private Integer userId;
|
private Integer type;
|
private Integer findId;
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
|
}
|