package com.gxwebsoft.shop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 分销商推荐关系表
 *
 * @author 科技小王子
 * @since 2024-07-28 11:57:41
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DealerReferee对象", description = "分销商推荐关系表")
@TableName("shop_dealer_referee")
public class DealerReferee implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "分销商用户ID")
    private Integer dealerId;

    @ApiModelProperty(value = "用户id(被推荐人)")
    private Integer userId;

    @ApiModelProperty(value = "推荐关系层级(1,2,3)")
    private Integer level;

    @ApiModelProperty(value = "商城ID")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

}
