package com.playlet.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.playlet.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.playlet.common.annotation.Excel;

/**
 * 文章分享记录对象 public_detail_share
 *
 * @author ruoyi
 * @date 2024-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "public_detail_share")
@ApiModel(value = "文章分享记录")
public class PublicDetailShare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

    /** 文章id */
    @Excel(name = "文章id")
    @ApiModelProperty(value = "文章id")
    private Long detailId;

    /** 作者id */
    @Excel(name = "作者id")
    @ApiModelProperty(value = "作者id")
    private Long authorId;

    /** 作者名称 */
    @Excel(name = "作者名称")
    @ApiModelProperty(value = "作者名称")
    private String authorName;

    /** 分享人id */
    @Excel(name = "分享人id")
    @ApiModelProperty(value = "分享人id")
    private Long readerOneId;

    /** 分享人名称 */
    @Excel(name = "分享人名称")
    @ApiModelProperty(value = "分享人名称")
    private String readerOneName;

    /** 被分享人id */
    @Excel(name = "被分享人id")
    @ApiModelProperty(value = "被分享人id")
    private Long readerTwoId;

    /** 被分享人名称 */
    @Excel(name = "被分享人名称")
    @ApiModelProperty(value = "被分享人名称")
    private String readerTwoName;

}
