package com.tofly.feesapi.bmgl.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 编码_水表运行状态
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "BM_CBLX", resultMap = "bmCblxMap")
@KeySequence("BM_CBLX")
@ApiModel
public class BmCblx extends Model<BmCblx> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "CODE", type = IdType.AUTO)
    @ApiModelProperty(value = "$column.comments")
    private String code;

    @ApiModelProperty(value = "$column.comments")
    private String name;

    @ApiModelProperty(value = "$column.comments")
    private BigDecimal type;
}
