package cn.fateverse.query.entity.dto;

import cn.fateverse.common.decrypt.annotation.EncryptField;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Clay
 * @date 2024/4/30 16:58
 */
@Data
public class PortalPublish {

    @EncryptField
    @NotBlank(message = "接口id不能为空")
    private String portalId;

    private String code;


    public Long getLongPortalId() {
        return Long.valueOf(portalId);
    }

}
