package cn.fateverse.query.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author Clay
 * @date 2024/4/24 8:57
 */
@Data
public class DataAdapterCodeDto {

    @NotNull(message = "id不能为空")
    private Long portalId;

    @NotBlank(message = "代码内容不能为空!")
    private String code;

}
