用户邀请码
邀请注册送湖分
This commit is contained in:
@@ -80,6 +80,11 @@ public class MyUserEntity implements Serializable {
|
||||
* 积分
|
||||
*/
|
||||
private BigDecimal jf;
|
||||
|
||||
/**
|
||||
* 邀请码
|
||||
*/
|
||||
private String inviteCode;
|
||||
/**
|
||||
* 阅读时间
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user