package com.ytpm.agent.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel("易推App用户表")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class YtAppUser {
    @ApiModelProperty("应用ID")
    private String appId;
    @ApiModelProperty("用户ID")
    private String userId;
    @ApiModelProperty("渠道ID")
    private String channelId;
    @ApiModelProperty("平台ID")
    private String platformId;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("注册时间")
    private Date registryTime;
    @ApiModelProperty("最新登录时间")
    private Date lastLoginTime;
    @ApiModelProperty("最新登录IP")
    private String lastLoginIp;
    @ApiModelProperty("登录天数")
    private Integer loginDays;
    @ApiModelProperty("渠道类型")
    private Integer channelType;
    @ApiModelProperty("渠道来源")
    private String channelOrigin;
    @ApiModelProperty("用户类型")
    private Integer userType;
    @ApiModelProperty("广告总播放数")
    private Integer totalVideo;
    @ApiModelProperty("总收益")
    private BigDecimal totalIncome;
    @ApiModelProperty("红包余额")
    private BigDecimal redPacketBalance;
    @ApiModelProperty("红包总额")
    private BigDecimal redPacketAmount;
    @ApiModelProperty("积分余额")
    private BigDecimal pointsBalance;
    @ApiModelProperty("积分总额")
    private BigDecimal pointsTotal;
    @ApiModelProperty("提现总额")
    private BigDecimal withdrawTotal;
    @ApiModelProperty("登录天数")
    private Integer signDays;
    @ApiModelProperty("用户状态")
    private Integer userStatus ;
    @ApiModelProperty("禁止登录原因")
    private String lockReason ;
}
