package cn.van.business.model.wx;

import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
@Entity
@Table(name = "wx_user")
public class WxUser {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Integer id;

    @Column(name = "wxid", nullable = false)
    private String wxid;

    @Column(name = "money_leiji", precision = 10, scale = 2)
    private BigDecimal moneyLeiji;

    @Column(name = "money_shengyu", precision = 10, scale = 2)
    private BigDecimal moneyShengyu;

    @Column(name = "count_chongzhi", precision = 10, scale = 2)
    private BigDecimal countChongzhi;

    @Column(name = "count_xiaofei", precision = 10, scale = 2)
    private BigDecimal countXiaofei;

    @Column(name = "name")
    private String name;

    @Column(name = "status")
    private Integer status;

}
