package com.ruoyi.xq.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;

/**
 * 用户邀请对象 xq_user_invite
 *
 * @author 77
 * @date 2024-03-13
 */
@Data
@TableName("xq_user_invite")
public class UserInvite implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户号
     */
    private String usercode;
    /**
     * 邀请人
     */
    private Long inviteId;
    /**
     * 邀请人Code
     */
    private String inviteCode;
    /**
     * 给上家的返现提成
     */
    private BigDecimal cashbackTotal;
    private Boolean enableRate;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}
