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.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 分包证书列表响应实体
 * @Author: wangpeng
 * @Date: 2023/3/30 16:09
 */
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@ExcelIgnoreUnannotated
@ApiModel
@Data
public class OutsourceCertificateListResponse {
    @ApiModelProperty(value = "证书id", dataType = "Long")
    private Long id;

    @ExcelProperty("证书编号")
    @ApiModelProperty(value = "证书编号", dataType = "String")
    private String certificateCode;

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

    @ExcelProperty("原始记录文件")
    @ApiModelProperty(value = "原始记录文件（minio存储文件名）", dataType = "String")
    private String originalRecordFile;

    @ExcelProperty("证书文件")
    @ApiModelProperty(value = "证书文件（minio存储文件名）", dataType = "String")
    private String certificateFile;

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

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

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

    @ExcelProperty("出厂编号")
    @ApiModelProperty(value = "出厂编号", dataType = "String")
    private String manufacturingNo;

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

//    @ExcelProperty("打印状态")
    @ApiModelProperty(value = "打印状态（1已打印、0未打印，不传为查询全部）", dataType = "Integer")
    private Integer printStatus;

    @ExcelProperty("创建时间")
    @ApiModelProperty(value = "创建时间", dataType = "String")
    private String createTime;
}
