package com.nantian.cloud.dbcapp.carbon.domain.ent;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("instrucment_equipment")
@ApiModel(value = "InstrumentEquipment对象", description = "计量器具配备情况")
public class InstrumentEquipment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "应配数量")
    @TableField("REQUIRE_NUM")
    private Integer require;

    @ApiModelProperty(value = "实配数量")
    @TableField("ACTUAL")
    private Integer actual;

    @ApiModelProperty(value = "受检情况")
    @TableField("INSPECT")
    private String inspect;

    @ApiModelProperty(value = "计量器具类别编号")
    @TableField("CATEGORY_CODE")
    private Long categoryCode;

    @ApiModelProperty(value = "计量器具类别名称")
    @TableField(exist = false)
    private String categoryName;

    @ApiModelProperty(value = "企业ID")
    @TableField("ENT_ID")
    private String entId;
}
