| package com.matrix.system.shopXcx.bean; | 
|   | 
| import com.matrix.core.pojo.EntityDTO; | 
| import com.matrix.core.anotations.Extend; | 
| import com.matrix.core.tools.DateUtil; | 
|   | 
| import java.math.BigDecimal; | 
|   | 
| /** | 
|  * @description 用户积分获取记录 | 
|  * @author jyy | 
|  * @date 2019-08-09 15:10 | 
|  */ | 
| public class ShopScoreRecord  extends EntityDTO{ | 
|     @Extend | 
|     private static final long serialVersionUID = 1L;  | 
|   | 
|      | 
|     /** | 
|      * 主键 | 
|      */ | 
|     private Integer  id; | 
|              | 
|      | 
|     /** | 
|      * 受益人openID | 
|      */ | 
|     private String  beneficiaryId; | 
|              | 
|      | 
|     /** | 
|      * 购买人openID | 
|      */ | 
|     private String  buyerId; | 
|              | 
|      | 
|     /** | 
|      * 购买人名称 | 
|      */ | 
|     private String  buyerName; | 
|   | 
|   | 
|     /** | 
|      * 购买人头像地址 | 
|      */ | 
|     private String buyerAvatarUrl; | 
|   | 
|   | 
|     /** | 
|      * 订单ID | 
|      */ | 
|     private Integer  orderId; | 
|              | 
|      | 
|     /** | 
|      * 订单金额 | 
|      */ | 
|     private BigDecimal  amount; | 
|              | 
|      | 
|     /** | 
|      * 获得积分 | 
|      */ | 
|     private Integer  score; | 
|   | 
|   | 
|     /** | 
|      * 创建时间格式化成字符串 | 
|      */ | 
|     @Extend | 
|     private String createTimeStr; | 
|   | 
|   | 
|     public String getCreateTimeStr() { | 
|         if (this.getCreateTime() == null) { | 
|             return ""; | 
|         } | 
|         return DateUtil.dateToString(this.getCreateTime(), DateUtil.DATE_FORMAT_DD); | 
|     } | 
|      | 
|   | 
|     public Integer getId() { | 
|         return id; | 
|     } | 
|         | 
|        public void setId(Integer id) { | 
|         this.id=id; | 
|     } | 
|         | 
|   | 
|     public String getBeneficiaryId() { | 
|         return beneficiaryId; | 
|     } | 
|         | 
|        public void setBeneficiaryId(String beneficiaryId) { | 
|         this.beneficiaryId=beneficiaryId; | 
|     } | 
|         | 
|   | 
|     public String getBuyerId() { | 
|         return buyerId; | 
|     } | 
|         | 
|        public void setBuyerId(String buyerId) { | 
|         this.buyerId=buyerId; | 
|     } | 
|         | 
|   | 
|     public String getBuyerName() { | 
|         return buyerName; | 
|     } | 
|         | 
|        public void setBuyerName(String buyerName) { | 
|         this.buyerName=buyerName; | 
|     } | 
|   | 
|   | 
|     public String getBuyerAvatarUrl() { | 
|         return buyerAvatarUrl; | 
|     } | 
|   | 
|     public void setBuyerAvatarUrl(String buyerAvatarUrl) { | 
|         this.buyerAvatarUrl = buyerAvatarUrl; | 
|     } | 
|   | 
|     public Integer getOrderId() { | 
|         return orderId; | 
|     } | 
|         | 
|        public void setOrderId(Integer orderId) { | 
|         this.orderId=orderId; | 
|     } | 
|         | 
|   | 
|     public BigDecimal getAmount() { | 
|         return amount; | 
|     } | 
|         | 
|        public void setAmount(BigDecimal amount) { | 
|         this.amount=amount; | 
|     } | 
|         | 
|   | 
|     public Integer getScore() { | 
|         return score; | 
|     } | 
|         | 
|        public void setScore(Integer score) { | 
|         this.score=score; | 
|     } | 
|         | 
|   | 
|   | 
|    | 
| } |