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;

/**
 * 短剧公告对象 playlet_message
 *
 * @author ruoyi
 * @date 2024-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "playlet_message")
@ApiModel(value = "短剧公告对象")
public class PlayletMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

    /** 消息名称 */
    @Excel(name = "消息名称")
    @ApiModelProperty(value = "消息名称")
    private String name;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty(value = "标题")
    private String title;

    /** 公告详情 */
    @Excel(name = "公告详情")
    @ApiModelProperty(value = "公告详情")
    private String detail;

    /** 是否弹出显示 01.否 02.是 */
    @Excel(name = "是否弹出显示 01.否 02.是")
    @ApiModelProperty(value = "是否弹出显示 01.否 02.是")
    private String type;

}
