package com.zd.airbottle.domain;

import com.zd.common.core.annotation.Excel;
import com.zd.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

/**
 * 气瓶对象 qp_air_bottle
 *
 * @author zd
 * @date 2022-05-10
 */
@ApiModel("气瓶")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class QpAirBottle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id,数据唯一标识 */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /** 气体名称 */
    @Excel(name = "气体名称")
    @Length(message = "气体名称长度不能超过50")
    @ApiModelProperty(value = "气体名称")
    private String airName;

    /**
     * 气题配置ID
     */
    @ApiModelProperty(value = "气题配置ID")
    private Long configId;

    /** 气体组成 */
    @Excel(name = "气体组成")
    @Length(message = "气体组成长度不能超过200")
    @ApiModelProperty(value = "气体组成")
    private String airConstituents;
    /** 供应商id */
    @Excel(name = "供应商id")
    @ApiModelProperty(value = "供应商id")
    private Long supplierId;
    /** 审核状态 0 未审核 1.审核通过 2.审核未通过 */
    @Excel(name = "审核状态 0 未审核 1.审核通过 2.审核未通过")
    @ApiModelProperty(value = "审核状态 0 未审核 1.审核通过 2.审核未通过")
    private Integer centerAuditStatus;
    /** 审核人ID */
    @Excel(name = "审核人ID")
    @ApiModelProperty(value = "审核人ID")
    private Long centerAuditUserid;

}