package com.casic.missiles.dto.business.outsource;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 分包证书批量导入Excel实体
 * @Author: wangpeng
 * @Date: 2023/4/7 13:33
 */
@Data
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@ExcelIgnoreUnannotated
public class OutsourceCertificateImportDTO {
    @ExcelProperty(value = "证书编号")
    @ApiModelProperty(value = "证书编号", dataType = "String")
    private String certificateCode;

    @ExcelProperty(value = "证书名称")
    @ApiModelProperty(value = "证书名称", dataType = "String")
    private String certificateName;

    @ExcelProperty(value = "检测单位编号")
    @ApiModelProperty(value = "检测单位编号（分包方编号）", dataType = "String")
    private String outsourcerNo;

    @ExcelProperty(value = "检测单位")
    @ApiModelProperty(value = "检测单位（分包方名称）", dataType = "String")
    private String outsourcerName;

    @ExcelProperty(value = "样品编号")
    @ApiModelProperty(value = "样品编号", dataType = "String")
    private String sampleNo;

    @ExcelProperty(value = "样品名称")
    @ApiModelProperty(value = "样品名称", dataType = "String")
    private String sampleName;

    @ExcelProperty(value = "型号")
    @ApiModelProperty(value = "样品型号", dataType = "String")
    private String sampleModel;

    @ExcelProperty(value = "证书附件")
    @ApiModelProperty(value = "证书附件", dataType = "String")
    private String certificateFileStrings;

}
