| package com.matrix.system.score.entity; | 
|   | 
| import com.matrix.core.anotations.Extend; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
|   | 
| import lombok.Data; | 
|   | 
| /** | 
|  * @description 积分记录表 | 
|  * @author jyy | 
|  * @date 2021-02-26 15:26 | 
|  */ | 
| @Data | 
| @TableName("score_use_record") | 
| public class ScoreUseRecord  extends BaseEntity{ | 
|     @Extend | 
|     private static final long serialVersionUID = 1L; | 
|   | 
|   | 
|   | 
|   | 
|      | 
|     /** | 
|      * 记录类型(1:现金消费2:员工划扣3赠送等) | 
|      */ | 
|   | 
|   | 
|     private Integer  type; | 
|      | 
|     /** | 
|      * 数量 | 
|      */ | 
|   | 
|   | 
|     private Integer  recNum; | 
|      | 
|     /** | 
|      * 业务记录ID | 
|      */ | 
|   | 
|   | 
|     private Long  businessId; | 
|     /** | 
|      * 操作人id | 
|      */ | 
|     Long oprationUserId; | 
|     /** | 
|      * 积分卡ID | 
|      */ | 
|   | 
|   | 
|     private Long  scoreVipDetailId; | 
|      | 
|     /** | 
|      * 原积分 | 
|      */ | 
|   | 
|   | 
|     private Integer  preScore; | 
|      | 
|     /** | 
|      * 现积分 | 
|      */ | 
|   | 
|   | 
|     private Integer  nowScore; | 
|      | 
|     /** | 
|      * 操作人ID | 
|      */ | 
|     private Long vipId; | 
|   | 
|     private Long shopId; | 
|   | 
|     /** | 
|      * 备注 | 
|      */ | 
|   | 
|   | 
|     private String  remarks; | 
|      | 
|     /** | 
|      * 所属公司_id | 
|      */ | 
|   | 
|   | 
|     private Long  companyId; | 
|   | 
|   | 
|   | 
|    | 
| } |