| package com.matrix.system.fenxiao.entity; | 
|   | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import com.matrix.system.score.entity.BaseEntity; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| /** | 
|  * @description 推广员申请记录 | 
|  * @author yourName | 
|  * @date 2021-03-10 17:34 | 
|  */ | 
| @Data | 
| @TableName("shop_salesman_apply") | 
| public class ShopSalesmanApply  extends BaseEntity { | 
|     /** | 
|      * 审核状态-1、待审核 | 
|      */ | 
|     public static final int APPLY_STATUS_DSH = 1; | 
|     /** | 
|      * 审核状态-2通过 | 
|      */ | 
|     public static final int APPLY_STATUS_TG= 2; | 
|     /** | 
|      * 审核状态-3未通过 | 
|      */ | 
|     public static final int APPLY_STATUS_WTG = 3; | 
|     /** | 
|      * 审核状态-4系统删除 | 
|      */ | 
|     public static final int APPLY_STATUS_XTQX = 4; | 
|   | 
|   | 
|     /** | 
|      * 申请方式1、自主申请 | 
|      */ | 
|     public static  final  int APPLY_WAY_SELF=1; | 
|     /** | 
|      * 申请方式2、自动添加 | 
|      */ | 
|     public static  final  int APPLY_WAY_AUTO_ADD=2; | 
|     /** | 
|      * 申请方式3上级邀请 | 
|      */ | 
|     public static  final  int APPLY_WAY_INVITATION=3; | 
|     /** | 
|      * 申请方式 4、手动添加 | 
|      */ | 
|     public static  final  int APPLY_WAY_HAND_ADD=4; | 
|   | 
|   | 
|   | 
|     @ApiModelProperty(value = "申请方式1、自主申请,2、自动添加,3上级邀请,4、手动添加") | 
|     private Integer  applyWay; | 
|   | 
|     @ApiModelProperty(value = "申请用户id") | 
|     private Long  userId; | 
|      | 
|   | 
|     @ApiModelProperty(value = "邀请用户ID") | 
|     private Long  parentUserId; | 
|      | 
|   | 
|     @ApiModelProperty(value = "申请状态1、待审核,2通过,3未通过") | 
|     private Integer  applyStatus; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     private String  remark; | 
|      | 
|     @ApiModelProperty(value = "等级ID") | 
|     private long  gradeId; | 
|      | 
|     /** | 
|      * 公司ID | 
|      */ | 
|     @ApiModelProperty(hidden = true) | 
|     private Long  companyId; | 
|   | 
|   | 
|   | 
|    | 
| } |