package org.jebot.models.xxpay;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Entity(name = "t_black_user")
@NoArgsConstructor
@AllArgsConstructor
public class BlackUser {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "Id")
    private Long id;

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

    @Column(name = "type")
    private int type;

    @Column(name = "CreateTime")
    private Date createTime;

}