package com.mcwl.communityCenter.domain;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mcwl.common.core.domain.BaseEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * 发布点赞
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("cc_publish_like")
public class PublishLike extends BaseEntity {

    @TableId
    private Long id;

    /**
     * 用户id - 租户id
     */
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;

    /**
     * 社区id
     */
    private Long communityId;

    /**
     * 发布id
     */
    private Long publishId;

    /**
     * 用户id
     */
    private Long userId;

}
