package com.pcloud.book.advertising.entity;

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

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

    private static final long serialVersionUID = -2164449923488376086L;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * 曝光次数
     */
    private Long count;

    @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 Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public String getCreateMonth() {
        return createMonth;
    }

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

    @Override
    public String toString() {
        return "AdvertisingExposureRecord{" +
                "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 + '\'' +
                ", count=" + count +
                "} " + super.toString();
    }
}