package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 余额修改记录
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-03-24
|
*/
|
@TableName("t_balance_modify_record")
|
public class TBalanceModifyRecord extends Model<TBalanceModifyRecord> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 添加时间
|
*/
|
private Date createTime;
|
/**
|
* 流水ID
|
*/
|
private String recordID;
|
/**
|
* 用户id
|
*/
|
private Integer userId;
|
/**
|
* 用户名称
|
*/
|
private String userName;
|
/**
|
* 用户手机号
|
*/
|
private String phone;
|
/**
|
* 金额
|
*/
|
private BigDecimal money;
|
/**
|
* 1=增加,2=减少
|
*/
|
private Integer type;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getRecordID() {
|
return recordID;
|
}
|
|
public void setRecordID(String recordID) {
|
this.recordID = recordID;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
public BigDecimal getMoney() {
|
return money;
|
}
|
|
public void setMoney(BigDecimal money) {
|
this.money = money;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TBalanceModifyRecord{" +
|
"id=" + id +
|
", createTime=" + createTime +
|
", recordID=" + recordID +
|
", userId=" + userId +
|
", userName=" + userName +
|
", phone=" + phone +
|
", money=" + money +
|
", type=" + type +
|
"}";
|
}
|
}
|