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_message_data_for_transfer")
public class WxMessageDataForTransfer {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Integer id;

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

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

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

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

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

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

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

}
