package com.pcloud.book.applet.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class BuyBookRequestDTO {

    private Long id;

    private Long bookId;

    private String bookName;

    private String coverImg;

    private Long adviserId;

    private String adviserName;

    private Long channelId;

    private Long agentId;

    private String agentName;

    private Long wechatUserId;

    private String userName;

    private String phone;

    private String address;

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

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
