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 com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 实时工作统计响应实体
 * @Author: wangpeng
 * @Date: 2023/4/10 9:06
 */
@ColumnWidth(35)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@ExcelIgnoreUnannotated
@ApiModel
@Data
public class BoardWorkStatisticsResponse {
    //实验室id（计量组织表主键）
    @ApiModelProperty(hidden = true)
    @JSONField(serialize = false)
    private Long id;
    //检测实验室id（对应部门表主键）
    @ApiModelProperty(value = "检测实验室id", dataType = "Long")
    private Long deptId;
    //实验室编号
    @ExcelProperty("实验室编号")
    @ApiModelProperty(value = "实验室编号", dataType = "String")
    private String organizeNo;
    //实验室名字
    @ExcelProperty("实验室名字")
    @ApiModelProperty(value = "实验室名字", dataType = "String")
    private String organizeName;
    //当日检测完样品
    @ExcelProperty("当日检测完样品")
    @ApiModelProperty(value = "当日检测完样品", dataType = "Integer")
    private Integer samplesCompletedToday;
    //当日检定员出具证书数
    @ExcelProperty("当日检定员出具证书数")
    @ApiModelProperty(value = "当日检定员出具证书数", dataType = "Integer")
    private Integer certificatesToday;
    //当日到期样品数
    @ExcelProperty("当日到期样品数")
    @ApiModelProperty(value = "当日到期样品数", dataType = "Integer")
    private Integer expireSamplesToday;
    //今年样品数（实验室今年所有状态的样品数）
    @ExcelProperty("今年样品数")
    @ApiModelProperty(value = "今年样品数", dataType = "Integer")
    private Integer samplesYear;
    //今年超期样品总数
    @ExcelProperty("今年超期样品总数")
    @ApiModelProperty(value = "今年超期样品总数", dataType = "Integer")
    private Integer expireSamplesYear;
    //今年超期样品总数-检测中
    @ExcelProperty("今年超期样品总数-检测中")
    @ApiModelProperty(value = "今年超期样品总数-检测中", dataType = "Integer")
    private Integer inMeasureExpireSamplesYear;
    //超期率
    @ExcelProperty("超期率")
    @ApiModelProperty(value = "超期率", dataType = "Integer")
    private String expireRate;

}
