package com.matrix.system.shopXcx.bean;
|
|
import com.matrix.core.pojo.EntityDTO;
|
import com.matrix.core.anotations.Extend;
|
import com.matrix.core.tools.DateUtil;
|
|
/**
|
* @description 用户积分兑换记录
|
* @author jyy
|
* @date 2019-08-09 15:10
|
*/
|
public class ShopScoreExchange extends EntityDTO{
|
@Extend
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
* 主键
|
*/
|
private Integer id;
|
|
|
/**
|
* 用户openID
|
*/
|
private String userId;
|
|
|
/**
|
* 操作人ID
|
*/
|
private Long operateId;
|
|
|
/**
|
* 兑换积分
|
*/
|
private Integer exchangeScore;
|
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
|
/**
|
* 创建时间格式化成字符串
|
*/
|
@Extend
|
private String createTimeStr;
|
|
|
public String getCreateTimeStr() {
|
if (this.getCreateTime() == null) {
|
return "";
|
}
|
return DateUtil.dateToString(this.getCreateTime(), DateUtil.DATE_FORMAT_MM);
|
}
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id=id;
|
}
|
|
|
public String getUserId() {
|
return userId;
|
}
|
|
public void setUserId(String userId) {
|
this.userId=userId;
|
}
|
|
|
public Long getOperateId() {
|
return operateId;
|
}
|
|
public void setOperateId(Long operateId) {
|
this.operateId = operateId;
|
}
|
|
public Integer getExchangeScore() {
|
return exchangeScore;
|
}
|
|
public void setExchangeScore(Integer exchangeScore) {
|
this.exchangeScore=exchangeScore;
|
}
|
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark=remark;
|
}
|
|
|
|
|
}
|