package com.playlet.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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;

/**
 * 用户推广短剧对象 playlet_user_item
 *
 * @author ruoyi
 * @date 2024-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "playlet_user_item")
@ApiModel(value = "推广短剧")
public class PlayletUserItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

    /** 短剧id */
    @Excel(name = "短剧id")
    @ApiModelProperty(value = "短剧id")
    private Long itemId;

    @TableField(exist = false)
    @ApiModelProperty(value = "短剧详情")
    private PlayletItem playletItem;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id")
    private Long userId;

}
