package com.cpop.oam.business.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

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

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 工具名
     */
    @NotBlank(message = "工具名不能为空")
    @ApiModelProperty(value = "工具名",required = true)
    private String toolName;

    /**
     * 工具地址
     */
    @NotBlank(message = "工具地址不能为空")
    @ApiModelProperty(value = "工具地址",required = true)
    private String toolUrl;

    /**
     * 工具介绍
     */
    @NotBlank(message = "工具介绍不能为空")
    @ApiModelProperty(value = "工具介绍",required = true)
    private String toolDesc;

    /**
     * 工具类型(字典)
     */
    @NotBlank(message = "工具类型不能为空")
    @ApiModelProperty(value = "工具类型(字典)",required = true)
    private String toolType;

}
