package com.njcn.cssystem.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import java.io.File;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2023/7/12 16:23
 */
@Data
public class ElementParam {

    @ApiModelProperty(value = "组件分类")
    @NotBlank(message="组件分类不能为空！")
    private String elementType;

    @ApiModelProperty(value = "组件子类型")
    @NotBlank(message="组件子类型不能为空！")
    private String elementSonType;

    @ApiModelProperty(value = "组件编码")
    private String elementCode;

    @ApiModelProperty(value = "组件名称")
    private String elementName;

    @ApiModelProperty(value = "组件标识")
    private String elementMark;

    @ApiModelProperty(value = "图元文件")
    private MultipartFile multipartFile;

    @ApiModelProperty(value = "图元类型")
    @NotBlank(message="图元类型不能为空！")
    private String elementForm;

    @ApiModelProperty(value = "压缩包文件")
    private MultipartFile zipFile;

}
