54 lines
1015 B
Java
54 lines
1015 B
Java
package com.peanut.modules.common.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import lombok.Data;
|
|
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@TableName("jf_transaction_details")
|
|
public class JfTransactionDetails implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableId
|
|
private Integer id;
|
|
/**
|
|
* 用户id
|
|
*/
|
|
private Integer userId;
|
|
/**
|
|
* 0增加1减少
|
|
*/
|
|
private Integer actType;
|
|
/**
|
|
* 变动金额
|
|
*/
|
|
private BigDecimal changeAmount;
|
|
/**
|
|
* 余额
|
|
*/
|
|
private BigDecimal userBalance;
|
|
/**
|
|
* 关联id
|
|
*/
|
|
private Integer relationId;
|
|
/**
|
|
* 备注
|
|
*/
|
|
private String remark;
|
|
|
|
@TableField(fill = FieldFill.INSERT)
|
|
private Date createTime;
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
@TableField(exist = false)
|
|
private MyUserEntity user;
|
|
@TableField(exist = false)
|
|
private String orderSn;
|
|
|
|
}
|