| 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 yourName | 
|  * @date 2021-03-10 17:34 | 
|  */ | 
| @Data | 
| @TableName("shop_salesman_order") | 
| public class ShopSalesmanOrder  extends BaseEntity { | 
|     /** | 
|      * 推广收益类型1推广收益 | 
|      */ | 
|     public static final Integer REVENUE_TYPE_SALES = 1; | 
|   | 
|     /** | 
|      * 推广收益类型2邀请收益 | 
|      */ | 
|     public static final Integer REVENUE_TYPE_INVITATION = 2; | 
|     /** | 
|      * 分销单状态1待结算 | 
|      */ | 
|     public static final Integer STATUS_DJS = 1; | 
|     /** | 
|      * 分销单状态2已结算 | 
|      */ | 
|     public static final Integer STATUS_YJS = 2; | 
|     /** | 
|      * 分销单状态3已退款 | 
|      */ | 
|     public static final Integer STATUS_YTK = 3; | 
|   | 
|   | 
|     @Extend | 
|     private static final long serialVersionUID = 1L;  | 
|   | 
|      | 
|   | 
|   | 
|      | 
|     /** | 
|      * 订单id | 
|      */ | 
|   | 
|   | 
|     private Long  orderId ; | 
|      | 
|     /** | 
|      * 用户id | 
|      */ | 
|   | 
|   | 
|     private Long  userId; | 
|      | 
|     /** | 
|      * 收益人id | 
|      */ | 
|   | 
|   | 
|     private Long  salesUserId; | 
|      | 
|     /** | 
|      * 收益类型1,推广收益,2邀请收益 | 
|      */ | 
|   | 
|   | 
|     private Integer  revenueType; | 
|      | 
|     /** | 
|      * 收益金额 | 
|      */ | 
|   | 
|   | 
|     private Double  amount; | 
|      | 
|     /** | 
|      * 结算状态 1,待结算,2,已结算,3已退款 | 
|      */ | 
|     private Integer  orderStatus; | 
|      | 
|     /** | 
|      * 结算单ID | 
|      */ | 
|   | 
|   | 
|     private Long  settlementId; | 
|      | 
|     /** | 
|      * 公司ID | 
|      */ | 
|   | 
|   | 
|     private Long  companyId; | 
|   | 
|   | 
|   | 
|    | 
| } |