This commit is contained in:
dute7liang
2023-12-24 19:28:38 +08:00
parent 3febb24205
commit 83cc2da012
15 changed files with 628 additions and 25 deletions

View File

@@ -65,10 +65,6 @@ public class CaiAnchor implements Serializable{
* 服务总时长
*/
private Long serviceTime;
/**
* 礼物的邀请比例
*/
private BigDecimal giftInviteRate;
/**
* 视频分成比例
*/
@@ -85,15 +81,6 @@ public class CaiAnchor implements Serializable{
* 状态 0 可用 1不可用
*/
private Integer status;
/**
* 主播积分数
*/
private BigDecimal jifen;
/**
* 上一次积分
*/
private BigDecimal lastJifen;
private LocalDateTime createTime;

View File

@@ -0,0 +1,161 @@
package com.ruoyi.cai.domain;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
/**
* 消费记录对象 cai_consume_log
*
* @author 77
* @date 2023-12-24
*/
@Data
@TableName("cai_consume_log")
public class CaiConsumeLog implements Serializable {
private static final long serialVersionUID=1L;
/**
*
*/
@TableId(value = "id")
private Long id;
/**
* 类型 1-充值 2-礼物 3-守护 4-通话
*/
private Integer type;
/**
* 业务ID
*/
private Integer sourceBusinessId;
/**
* 发生金额
*/
private BigDecimal amount;
/**
* 主播金额
*/
private BigDecimal anchorAmount;
/**
* 一级金额
*/
private BigDecimal oneAmount;
/**
* 二级金额
*/
private BigDecimal twoAmount;
/**
* 平台金额
*/
private BigDecimal platformAmount;
/**
* 消费方用户
*/
private Integer sourceUserId;
/**
* 消费方用户
*/
private String sourceUsercode;
/**
* 消费方用户
*/
private String sourcePhone;
/**
* 接收方用户
*/
private Integer targetUserId;
/**
* 接收方用户
*/
private String targetUsercode;
/**
* 接收方用户
*/
private String targetPhone;
/**
* 一级分销方
*/
private Integer oneUserId;
/**
* 一级分销方
*/
private String oneUsercode;
/**
* 一级分销方
*/
private String onePhone;
/**
* 一级分销方抽成比例
*/
private Integer oneRate;
/**
* 是否为工会管理员 0=否 1=是
*/
private Integer oneIsUnion;
/**
* 二级分销方
*/
private Integer twoUserId;
/**
* 二级分销方
*/
private String twoUsercode;
/**
* 二级分销方
*/
private String twoPhone;
/**
* 二级分销方抽成比例
*/
private Integer twoRate;
/**
* 是否为工会管理员 0=否 1=是
*/
private Integer twoIsUnion;
/**
* 状态 0-待计算分销 1-已计算分销
*/
private String calculateStatus;
/**
* 状态 -1-无须分销 0-待分销 1-已分销
*/
private Integer status;
/**
* 状态 0-否 1-是
*/
private String admin;
/**
* 管理员ID
*/
private Long adminId;
/**
* 名称
*/
private String adminName;
/**
* 分销人ID
*/
private Long opId;
/**
* 分销人名称
*/
private String opName;
/**
* 分销时间
*/
private LocalDateTime opCreate;
private LocalDateTime createTime;
}

View File

@@ -0,0 +1,72 @@
package com.ruoyi.cai.domain;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* 赠送记录对象 cai_give_log
*
* @author 77
* @date 2023-12-24
*/
@Data
@TableName("cai_give_log")
public class CaiGiveLog implements Serializable {
private static final long serialVersionUID=1L;
/**
*
*/
@TableId(value = "id")
private Long id;
/**
* 类型 1-注册 2-首充
*/
private Integer type;
/**
* 业务ID
*/
private Integer sourceBusinessId;
/**
* 发生金额
*/
private BigDecimal amount;
/**
* 消费方用户
*/
private Integer sourceUserId;
/**
* 消费方用户
*/
private Integer sourceUsercode;
/**
* 消费方用户
*/
private String sourcePhone;
/**
* 状态 -1-无须赠送 0-待赠送 1-已赠送
*/
private Integer status;
/**
* 分发人ID
*/
private Long opId;
/**
* 分发人名称
*/
private String opName;
/**
* 分发时间
*/
private LocalDateTime opCreate;
private LocalDateTime createTime;
}

View File

@@ -28,18 +28,6 @@ public class CaiUserInfo {
*/
@TableId(value = "user_id",type = IdType.INPUT)
private Long userId;
/**
*
*/
private String realname;
/**
* 星座
*/
private Integer signs;
/**
* 用户评分
*/
private BigDecimal giveScore;
/**
* 奖励好友支出的比率
*/