package cn.quantgroup.xyqb.risk.entity;

import cn.quantgroup.xyqb.entity.BaseEntity;
import cn.quantgroup.xyqb.entity.enums.KeyType;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author ：dongjianhua
 * @date ：Created in 2020/11/23 11:30
 * @description：白名单
 * @modified By：
 * @version:
 */

@Entity
@Table(name = "white_list")
@Data
public class WhiteList extends BaseEntity {

    @Column(name = "[key]")
    private String key;

    @Column(name = "key_type")
    private KeyType type;

    @Column(name = "enable")
    private Boolean enable;


}
