package com.ruoyi.worktecket.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 作业票气体取样分析对象 work_ticket_gas_analysis
 *
 * @author ruoyi
 * @date 2023-08-04
 */
@ApiModel("作业票气体取样分析")
@Data
public class WorkTicketGasAnalysisDTO implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("作业票气体取样分析主键")
    private String id;

    /** 作业票id */
    @Excel(name = "作业票id")
    private String workTicketId;

    /** 检测人（APP直接输入人名不关联用户表） */
    @Excel(name = "检测人")
    private String inspectorate;

    @Excel(name = "氧气%")
    private BigDecimal o2;
    @Excel(name = "一氧化碳%")
    private BigDecimal co;
    @Excel(name = "硫化氢%")
    private BigDecimal h2s;
    @Excel(name = "可燃气%")
    private BigDecimal ca;
    @Excel(name = "分析位置/部位")
    private String analysisLocation;
    /** 取样时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "取样时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sampleTime;
}
