package com.ruoyi.system.vo; import cn.afterturn.easypoi.excel.annotation.Excel; import com.ruoyi.common.core.domain.BasePage; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.math.BigDecimal; @Data @ApiModel(value = "推广记录列表Vo") public class PromotionPageListVo { @ApiModelProperty(value = "上级用户姓名") @Excel(name = "上级用户", width = 20) private String lastUserName; @ApiModelProperty(value = "上级用户电话") @Excel(name = "上级用户电话", width = 20) private String lastPhone; @ApiModelProperty(value = "上级用户角色 1=游客,2=营销员,3=合伙人") @Excel(name = "上级用户角色", width = 20, replace = {"游客_1", "营销员_2", "合伙人_3"}) private Integer lastRoleName; @ApiModelProperty(value = "上级用户头像") private String lastAvatar; @ApiModelProperty(value = "上级用户ID") private Integer lastUserId; @ApiModelProperty(value = "头像") @Excel(name = "头像", width = 20,imageType = 1,type = 2) private String avatar; @ApiModelProperty(value = "用户名") @Excel(name = "用户名", width = 20) private String userName; @ApiModelProperty(value = "用户ID") private Integer userId; @ApiModelProperty(value = "联系电话") @Excel(name = "联系电话", width = 20) private String phone; @ApiModelProperty(value = "当前角色 1=游客,2=营销员,3=合伙人") @Excel(name = "当前角色", width = 20, replace = {"游客_1", "营销员_2", "合伙人_3"}) private Integer roleName; @ApiModelProperty(value = "状态 1=正常,2=冻结") @Excel(name = "状态", width = 20, replace = {"使用中_1", "冻结_2"}) private Integer status; @ApiModelProperty(value = "合计消费") @Excel(name = "合计消费", width = 20) private BigDecimal totalConsume; @ApiModelProperty(value = "合计收益") @Excel(name = "合计收益", width = 20) private Integer totalIncome; @ApiModelProperty(value = "已结算收益") @Excel(name = "已结算收益", width = 20) private BigDecimal totalSettledIncome; }