package com.crm.rely.backend.core.entity.ucard;

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@Data
public class CardBlockchainConfigAddEntity extends BaseAddEntity {

    /**
     * 别名
     */
    @NotBlank
    @NotNull
    private String alias;

    /**
     * 区块链
     */
    @NotBlank
    @NotNull
    private String blockchain;

    /**
     * 白名单
     */
    private String whitelist;

    /**
     * 黑名单
     */
    private String blacklist;

    /**
     * 启用状态 0: 否 1:是
     */
    private Integer enableStatus;

}
