package com.ruoyi.ems.domain;

import com.huashe.common.domain.BaseEntity;
import lombok.Data;

/**
 * 计量设备对象 adm_meter_device
 *
 * @author ruoyi
 * @date 2024-08-08
 */
@Data
public class MeterDevice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 服务区代码
     */
    private String areaCode;

    /**
     * 组别
     */
    private String deviceModel;

    /**
     * 设备代码
     */
    private String deviceCode;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 设备启用状态
     * 0-未启用
     * 1-启用
     */
    private Integer deviceEnable;

    /**
     * 设备位置
     */
    private String locationRef;

    /**
     * 设备位置
     */
    private String location;

    /**
     * 计量类别
     */
    private Integer meterCls;

    /**
     * 采集周期
     */
    private Integer colCycle;

    /**
     * 采集方式
     */
    private Integer colMode;

    /**
     * 倍率
     */
    private Integer magnification;

    /**
     * 规格描述
     */
    private String specDesc;

    @Override
    public String toString() {
        return "MeterDevice{" + "id=" + id + ", areaCode='" + areaCode + '\'' + ", deviceCode='" + deviceCode + '\''
            + ", deviceName='" + deviceName + '\'' + ", location='" + location + '\'' + ", meterCls="
            + meterCls + ", colCycle=" + colCycle + ", colMode=" + colMode + ", magnification="
            + magnification + ", specDesc='" + specDesc + '\'' + '}';
    }
}
