package com.pcloud.book.applet.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pcloud.common.entity.BaseEntity;

import java.util.Date;
import java.io.Serializable;

import lombok.Data;

/**
 * 外部书单(AppletOuterBooklist)实体类
 *
 * @author makejava
 * @since 2020-08-11 14:13:04
 */
@Data
public class AppletOuterBooklist extends BaseEntity {
    private static final long serialVersionUID = 799578639173080859L;
    
    private Long id;
    /**
    * 书单主题名称
    */
    private String booklistName;
    /**
    * 创建者名称
    */
    private String userName;
    /**
    * 摘要
    */
    private String digest;
    /**
    * 展示图
    */
    private String displayPic;
    /**
    * 出版社
    */
    private String publish;
    /**
    * 创建时间
    */
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date createTime;

    private Long agentId;

    /**
     * 书单推荐是否在小程序首页展示
     */
    private Integer isShowHome;


}