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

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/4/11 19:25
 */
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@ExcelIgnoreUnannotated
@ApiModel
@Data
public class BoardBaseResponse {
    @ApiModelProperty(value = "部门id", dataType = "Long")
    private Long deptId;
    @ExcelProperty(value = "部门", order = 1)
    @ApiModelProperty(value = "部门名", dataType = "String")
    private String deptName;
    @ApiModelProperty(value = "人员id", dataType = "Long")
    private Long staffId;
    @ExcelProperty(value = "人员", order = 2)
    @ApiModelProperty(value = "人员名字", dataType = "String")
    private String staffName;
    @ExcelProperty(value = "检定样品数量", order = 3)
    @ApiModelProperty(value = "检定样品数量（检定完成的数量）", dataType = "Integer")
    private Integer samples = 0;
    @ExcelProperty(value = "出具证书数量", order = 4)
    @ApiModelProperty(value = "出具证书数量", dataType = "Integer")
    private Integer certificates = 0;
}
