余额相关

This commit is contained in:
liuyingfang
2023-08-24 09:29:30 +08:00
parent 67626eff09
commit 4e833b7585
13 changed files with 138 additions and 137 deletions

View File

@@ -1,5 +1,6 @@
package cn.pluss.platform.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@@ -20,6 +21,7 @@ public class UserAccount implements Serializable {
@TableField("user_id")
@TableId(value = "user_id", type = IdType.AUTO)
private Integer userId;
@TableField("freeze_balance")
private BigDecimal freezeBalance;

View File

@@ -18,13 +18,13 @@ import java.util.Date;
@TableName("tb_pluss_user_account_flow")
public class UserAccountFlow implements Serializable {
@TableId(type = IdType.AUTO)
@TableId(value = "id",type = IdType.AUTO)
private Integer id;
@TableField("user_id")
private Integer userId;
@TableField("biz_code")
private String bizCode;
@TableField("biz_name")
private String bizName;
private BigDecimal amount;
@@ -32,8 +32,8 @@ public class UserAccountFlow implements Serializable {
private BigDecimal balance;
private String remark;
@TableField("create_time")
private Date createTime;
@TableField("update_time")
private Date updateTime;
}