package com.izouma.jmrh.domain;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("点赞/踩记录")
public class LikeRecord extends BaseEntity {

    private Long userId;

    private Long postId;

    private Long commentId;

    private boolean dislike;
}
