package com.cpop.oam.business.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-10 10:36
 */
@Data
@Accessors(chain = true)
@Schema(description = "TechnologyToolBo对象")
public class TechnologyToolBo {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private String id;

    /**
     * 工具名
     */
    @NotBlank(message = "工具名不能为空")
    @Schema(description = "工具名",requiredMode = Schema.RequiredMode.REQUIRED)
    private String toolName;

    /**
     * 工具地址
     */
    @NotBlank(message = "工具地址不能为空")
    @Schema(description = "工具地址",requiredMode = Schema.RequiredMode.REQUIRED)
    private String toolUrl;

    /**
     * 工具介绍
     */
    @NotBlank(message = "工具介绍不能为空")
    @Schema(description = "工具介绍",requiredMode = Schema.RequiredMode.REQUIRED)
    private String toolDesc;

    /**
     * 工具类型(字典)
     */
    @NotBlank(message = "工具类型不能为空")
    @Schema(description = "工具类型(字典)",requiredMode = Schema.RequiredMode.REQUIRED)
    private String toolType;

}
