package com.mvc.entity;

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

/**
* @Description:
* @Author: guozhao
* @CreateDate: 2025-07-12 12:07:33
*/
public class WaterMeterInventory implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 器具编码
     */
    private String meterCode;

    /**
     * 显示名称
     */
    private String displayName;

    /**
     * 所在位置
     */
    private String location;

    /**
     * 器具级别
     */
    private Byte level;

    /**
     * 计量范围
     */
    private String measurementRange;

    /**
     * 生产厂家
     */
    private String manufacturer;

    /**
     * 型号
     */
    private String model;

    /**
     * 精度等级
     */
    private BigDecimal accuracy;

    /**
     * 水表类型(安装口径)
     */
    private Integer dnType;

    /**
     * 水源类型
     */
    private String waterSource;

    /**
     * 用途类型
     */
    private String usageType;

    /**
     * 使用状态
     */
    private String status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 上级器具ID
     */
    private Integer parentId;

    /**
     * 关联单位代码
     */
    private String unitCode;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String createMan;

    /**
     * water_meter_inventory
     */
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMeterCode() {
        return meterCode;
    }

    public void setMeterCode(String meterCode) {
        this.meterCode = meterCode == null ? null : meterCode.trim();
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName == null ? null : displayName.trim();
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public String getMeasurementRange() {
        return measurementRange;
    }

    public void setMeasurementRange(String measurementRange) {
        this.measurementRange = measurementRange == null ? null : measurementRange.trim();
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer == null ? null : manufacturer.trim();
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model == null ? null : model.trim();
    }

    public BigDecimal getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(BigDecimal accuracy) {
        this.accuracy = accuracy;
    }

    public Integer getDnType() {
        return dnType;
    }

    public void setDnType(Integer dnType) {
        this.dnType = dnType;
    }

    public String getWaterSource() {
        return waterSource;
    }

    public void setWaterSource(String waterSource) {
        this.waterSource = waterSource == null ? null : waterSource.trim();
    }

    public String getUsageType() {
        return usageType;
    }

    public void setUsageType(String usageType) {
        this.usageType = usageType == null ? null : usageType.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode == null ? null : unitCode.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateMan() {
        return createMan;
    }

    public void setCreateMan(String createMan) {
        this.createMan = createMan == null ? null : createMan.trim();
    }

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", meterCode=").append(meterCode);
        sb.append(", displayName=").append(displayName);
        sb.append(", location=").append(location);
        sb.append(", level=").append(level);
        sb.append(", measurementRange=").append(measurementRange);
        sb.append(", manufacturer=").append(manufacturer);
        sb.append(", model=").append(model);
        sb.append(", accuracy=").append(accuracy);
        sb.append(", dnType=").append(dnType);
        sb.append(", waterSource=").append(waterSource);
        sb.append(", usageType=").append(usageType);
        sb.append(", status=").append(status);
        sb.append(", remark=").append(remark);
        sb.append(", parentId=").append(parentId);
        sb.append(", unitCode=").append(unitCode);
        sb.append(", createTime=").append(createTime);
        sb.append(", createMan=").append(createMan);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}