package cn.iocoder.yudao.module.system.controller.admin.dify.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Schema(description = "管理后台 - Dify 工作流记录新增/修改 Request VO")
@Data
public class DifyWorkFlowRecordSaveReqVO {

    @Schema(description = "id", example = "1")
    private Long id;

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "编号不能为空")
    private String number;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "名称不能为空")
    private String name;

    @Schema(description = "完整url")
    private String apiUrl;

    @Schema(description = "apikey")
    private String apiKey;

    @Schema(description = "描述")
    private String description;
}

