package cn.reghao.tnb.user.app.model.po;

import cn.reghao.jutil.jdk.db.BaseObject;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author reghao
 * @date 2024-04-16 16:09:31
 */
@NoArgsConstructor
@Getter
public class Wallet extends BaseObject<Integer> {
    private Double balance;
    private Long owner;

    public Wallet(long owner) {
        this.owner = owner;
        this.balance = 0.0;
    }

    public Wallet(long owner, double balance) {
        this.owner = owner;
        this.balance = balance;
    }
}
