package com.pcloud.book.advertising.entity;

import java.util.Date;
import com.pcloud.common.entity.BaseEntity;

/**
 * @author PENG
 */
public class AdvertisingClickRecord extends BaseEntity {

    private static final long serialVersionUID = 1236769572623516883L;

    /**
     * advertising_click_record.id (唯一标识)
     */
    private Long id;

    /**
     * advertising_click_record.ad_id (广告位ID)
     */
    private Long adId;

    /**
     * advertising_click_record.book_id (书刊ID)
     */
    private Long bookId;

    /**
     * advertising_click_record.is_book_group (是否是社群书)
     */
    private Boolean isBookGroup;

    /**
     * 二维码ID
     */
    private Long sceneId;

    /**
     * advertising_click_record.adviser_id (编辑ID)
     */
    private Long adviserId;

    /**
     * advertising_click_record.agent_id (出版社ID)
     */
    private Long agentId;

    /**
     * advertising_click_record.channel_id (运营ID)
     */
    private Long channelId;

    /**
     * advertising_click_record.official_account_id (公众号ID)
     */
    private Long officialAccountId;

    /**
     * advertising_click_record.from_type (来源类型)
     */
    private String fromType;

    /**
     * advertising_click_record.from_id (来源ID)
     */
    private Long fromId;

    /**
     * advertising_click_record.wechat_user_id (读者ID)
     */
    private Long wechatUserId;

    /**
     * advertising_click_record.create_time (创建时间)
     */
    private Date createTime;

    /**
     * advertising_click_record.create_day (创建日期)
     */
    private Date createDay;

    /**
     * 创建月份
     */
    private String createMonth;

    /**
     * 社群码ID
     */
    private Long bookGroupId;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public Long getAdId() {
        return adId;
    }

    public void setAdId(Long adId) {
        this.adId = adId;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public Boolean getIsBookGroup() {
        return isBookGroup;
    }

    public void setIsBookGroup(Boolean isBookGroup) {
        this.isBookGroup = isBookGroup;
    }

    public Long getAdviserId() {
        return adviserId;
    }

    public void setAdviserId(Long adviserId) {
        this.adviserId = adviserId;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public Long getOfficialAccountId() {
        return officialAccountId;
    }

    public void setOfficialAccountId(Long officialAccountId) {
        this.officialAccountId = officialAccountId;
    }

    public String getFromType() {
        return fromType;
    }

    public void setFromType(String fromType) {
        this.fromType = fromType;
    }

    public Long getFromId() {
        return fromId;
    }

    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }

    public Long getWechatUserId() {
        return wechatUserId;
    }

    public void setWechatUserId(Long wechatUserId) {
        this.wechatUserId = wechatUserId;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateDay() {
        return createDay;
    }

    public void setCreateDay(Date createDay) {
        this.createDay = createDay;
    }

    public Long getSceneId() {
        return sceneId;
    }

    public void setSceneId(Long sceneId) {
        this.sceneId = sceneId;
    }

    public String getCreateMonth() {
        return createMonth;
    }

    public void setCreateMonth(String createMonth) {
        this.createMonth = createMonth;
    }

    public Long getBookGroupId() {
        return bookGroupId;
    }

    public void setBookGroupId(Long bookGroupId) {
        this.bookGroupId = bookGroupId;
    }

    @Override
    public String toString() {
        return "AdvertisingClickRecord{" +
                "id=" + id +
                ", adId=" + adId +
                ", bookId=" + bookId +
                ", isBookGroup=" + isBookGroup +
                ", sceneId=" + sceneId +
                ", adviserId=" + adviserId +
                ", agentId=" + agentId +
                ", channelId=" + channelId +
                ", officialAccountId=" + officialAccountId +
                ", fromType='" + fromType + '\'' +
                ", fromId=" + fromId +
                ", wechatUserId=" + wechatUserId +
                ", createTime=" + createTime +
                ", createDay=" + createDay +
                ", createMonth='" + createMonth + '\'' +
                ", bookGroupId=" + bookGroupId +
                "} " + super.toString();
    }
}