package com.pcloud.book.keywords.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description
 * @Author zhengyongqiang
 * @Date 2020/02/06 12:10
 **/
@Data
public class SelfRobotBookRecordDTO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("社群码id")
    private Long bookGroupId;

    @ApiModelProperty("用户id")
    private String wxUserId;

    @ApiModelProperty("机器人id")
    private String altId;

    @ApiModelProperty("书名")
    private String bookName;

    @ApiModelProperty("出版社名称")
    private String agentName;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("头像")
    private String headPic;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
