| package com.matrix.system.score.entity; | 
|   | 
| import com.matrix.core.anotations.Extend; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
|   | 
| import lombok.Data; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @description 客户积分余额 | 
|  * @author jyy | 
|  * @date 2021-02-26 15:26 | 
|  */ | 
| @Data | 
| @TableName("score_vip_detail") | 
| public class ScoreVipDetail  extends BaseEntity{ | 
|     @Extend | 
|     private static final long serialVersionUID = 1L;  | 
|   | 
|      | 
|   | 
|   | 
|      | 
|     /** | 
|      * 获取类型(1:现金消费2:赠送等) | 
|      */ | 
|   | 
|   | 
|     private Integer  type; | 
|      | 
|     /** | 
|      * 积分总数 | 
|      */ | 
|   | 
|   | 
|     private Integer  allScore; | 
|      | 
|     /** | 
|      * 已使用积分 | 
|      */ | 
|   | 
|   | 
|     private Integer  usedScore; | 
|      | 
|     /** | 
|      * 剩余积分 | 
|      */ | 
|   | 
|   | 
|     private Integer  remainScore; | 
|      | 
|     /** | 
|      * 获取时间 | 
|      */ | 
|   | 
|   | 
|     private Date gainTime; | 
|      | 
|     /** | 
|      * 到期时间 | 
|      */ | 
|   | 
|   | 
|     private Date  validiteTime; | 
|      | 
|     /** | 
|      * 有效状态(1:有效 2:无效) | 
|      */ | 
|   | 
|   | 
|     private Integer  state; | 
|      | 
|     /** | 
|      * 原始单据ID | 
|      */ | 
|   | 
|   | 
|     private String  businessId; | 
|      | 
|     /** | 
|      * 所属公司_id | 
|      */ | 
|   | 
|   | 
|     private Long  companyId; | 
|   | 
|   | 
|   | 
|    | 
| } |