| New file |
| | |
| | | package com.oying.modules.system.domain; |
| | | |
| | | import com.oying.base.BaseEntity; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import cn.hutool.core.bean.copier.CopyOptions; |
| | | import java.sql.Timestamp; |
| | | import java.io.Serializable; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * @description / |
| | | * @author pxb |
| | | * @date 2025-10-20 |
| | | **/ |
| | | @Getter |
| | | @Setter |
| | | @TableName("sys_invitations") |
| | | public class Invitations extends BaseEntity implements Serializable { |
| | | |
| | | @TableId(value = "invitations_id", type = IdType.AUTO) |
| | | @ApiModelProperty(value = "ID") |
| | | private Long invitationsId; |
| | | |
| | | @ApiModelProperty(value = "邀请人ID") |
| | | private Long inviterId; |
| | | |
| | | @ApiModelProperty(value = "邀请人电话") |
| | | private String inviterPhone; |
| | | |
| | | @ApiModelProperty(value = "邀请人姓名") |
| | | private String inviterName; |
| | | |
| | | @ApiModelProperty(value = "邀请人openid") |
| | | private String inviterOpenId; |
| | | |
| | | @ApiModelProperty(value = "新用户openid") |
| | | private String newUserOpenId; |
| | | |
| | | @ApiModelProperty(value = "新用户ID") |
| | | private Long newUserId; |
| | | |
| | | @ApiModelProperty(value = "新用户姓名") |
| | | private String newUserName; |
| | | |
| | | @ApiModelProperty(value = "新用户电话") |
| | | private String newUserPhone; |
| | | |
| | | @ApiModelProperty(value = "记录类型(邀请新用户 YQ)") |
| | | private String type; |
| | | |
| | | @ApiModelProperty(value = "用户类型(QS骑手邀请记录,YH买家用户邀请记录,MJ卖家邀请卖家,MJQS卖家邀请骑手,MJYH卖家邀请买家)") |
| | | private String userType; |
| | | |
| | | @ApiModelProperty(value = "1成功 0提交 2失败") |
| | | private String status; |
| | | |
| | | @ApiModelProperty(value = "奖励数值") |
| | | private String rewardValue; |
| | | |
| | | @ApiModelProperty(value = "奖励类型") |
| | | private String rewardType; |
| | | |
| | | public void copy(Invitations source){ |
| | | BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); |
| | | } |
| | | } |