From 7b15b7791474b8b05b7cd31c691efe714da97376 Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Wed, 10 Mar 2021 18:53:43 +0800 Subject: [PATCH] 新增申请成为分销员接口 --- zq-erp/src/main/java/com/matrix/system/fenxiao/entity/ShopSalesmanApply.java | 41 +++++++++++++++++++++++++++++++++-------- 1 files changed, 33 insertions(+), 8 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/fenxiao/entity/ShopSalesmanApply.java b/zq-erp/src/main/java/com/matrix/system/fenxiao/entity/ShopSalesmanApply.java index f40a697..6b9efc1 100644 --- a/zq-erp/src/main/java/com/matrix/system/fenxiao/entity/ShopSalesmanApply.java +++ b/zq-erp/src/main/java/com/matrix/system/fenxiao/entity/ShopSalesmanApply.java @@ -1,22 +1,47 @@ package com.matrix.system.fenxiao.entity; import com.baomidou.mybatisplus.annotation.TableName; -import com.matrix.core.anotations.Extend; import com.matrix.system.score.entity.BaseEntity; import lombok.Data; /** * @description 推广员申请记录 - * @author jyy - * @date 2021-03-10 15:22 + * @author yourName + * @date 2021-03-10 17:34 */ @Data @TableName("shop_salesman_apply") public class ShopSalesmanApply extends BaseEntity { - @Extend - private static final long serialVersionUID = 1L; + /** + * 审核状态-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; - + + /** + * 申请方式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; @@ -32,14 +57,14 @@ */ - private Long userId; + private String userId; /** * 邀请用户ID */ - private Long parentUserId; + private String parentUserId; /** * 申请状态1、待审核,2通过,3未通过 -- Gitblit v1.9.1