package com.ytpm.app.model;

import com.ytpm.advertise.view.ComprehensiveCommonView;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("用户观看广告记录")
public class YtDyzAdRecord extends ComprehensiveCommonView {
    @ApiModelProperty("广告记录ID")
    private String recordId;
    @ApiModelProperty("用户ID")
    private String userId;
    @ApiModelProperty("用户昵称")
    private String nickName;
    @ApiModelProperty("IOSID")
    private String iosId;
    @ApiModelProperty("广告位ID")
    private String placementId;
    @ApiModelProperty("广告源ID")
    private Integer adSourceId;
    @ApiModelProperty("广告收益")
    private BigDecimal revenue;
    @ApiModelProperty("广告平台ID")
    private String networkFormId;
    @ApiModelProperty("广告平台名称")
    private String networkName;
    @ApiModelProperty("广告平台广告位ID")
    private String networkPlacementId;
    @ApiModelProperty("开始时间")
    private String beginTime;
    @ApiModelProperty("完成时间")
    private String finishTime;
    @ApiModelProperty("SDK返回json")
    private String resultJson;
    @ApiModelProperty("Taku预估eCPM 对应adsource_price")
    private BigDecimal ecpm;
    @ApiModelProperty("广告源竞价中排序优先级")
    private int adSourceIndex;
    @ApiModelProperty("广告源类型")
    private int adSourceType;
    @ApiModelProperty("应用ID")
    private String appId;
    @ApiModelProperty("登陆前/登陆后")
    private Integer loginStatus;
}
