用户邀请码

邀请注册送湖分
This commit is contained in:
wuchunlei
2024-11-08 16:48:21 +08:00
parent a77ec18e38
commit c41fda16d8
12 changed files with 330 additions and 6 deletions

View File

@@ -80,6 +80,11 @@ public class MyUserEntity implements Serializable {
* 积分
*/
private BigDecimal jf;
/**
* 邀请码
*/
private String inviteCode;
/**
* 阅读时间
*/

View File

@@ -0,0 +1,30 @@
package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
@Data
@TableName("user_invite_course")
public class UserInviteCourse {
@TableId
private Integer id;
private Integer userId;
private Integer invitedUserId;
private Integer orderId;
private Integer courseId;
private Integer catalogueId;
//已计算湖分
private Integer countContribution;
private Date createTime;
}

View File

@@ -0,0 +1,23 @@
package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
@Data
@TableName("user_invite_register")
public class UserInviteRegister {
@TableId
private Integer id;
//邀请人
private Integer userId;
//被邀请人
private Integer invitedUserId;
//已计算湖分
private Integer countContribution;
private Date createTime;
}