package com.yuchen.saas.park.api.entity.property;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

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

/**
 * <p>
 * 仪表管理-房屋仪表
 * </p>
 *
 * @author miaoqs
 * @since 2024-09-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_park_property_building_meter")
@ApiModel(value="SaasParkPropertyBuildingMeter对象", description="仪表管理-房屋仪表")
public class SaasParkPropertyBuildingMeter extends TenantEntity {

    /**
     * 项目id
     */
    @ApiModelProperty(name = "parkId", value = "项目id")
    private Long parkId;
    /**
     * 房间号id
     */
    @ApiModelProperty(name = "roomId", value = "房间号id")
    private Long roomId;
    /**
     * 房间号 名称
     */
    @ApiModelProperty(name = "roomName", value = "房间号 名称")
    private String roomName;
    /**
     * 仪表类型
     */
    @ApiModelProperty(name = "meterTypeId", value = "仪表类型")
    private Long meterTypeId;
    /**
     * 仪表名称
     */
    @ApiModelProperty(name = "meterName", value = "仪表名称")
    private String meterName;
    /**
     * 用途 1:分表;2:总表
     */
    @ApiModelProperty(name = "useType", value = "用途 1:分表;2:总表")
    private String useType;
    /**
     * 关联总表
     */
    @ApiModelProperty(name = "summaryMeterId", value = "关联总表")
    private Long summaryMeterId;
    /**
     * 表具编号
     */
    @ApiModelProperty(name = "meterNo", value = "表具编号")
    private String meterNo;
    /**
     * 倍率
     */
    @ApiModelProperty(name = "multiplyingPower", value = "倍率")
    private BigDecimal multiplyingPower;
    /**
     * 损耗率
     */
    @ApiModelProperty(name = "rateOfWaste", value = "损耗率")
    private BigDecimal rateOfWaste;
    /**
     * 最大读数
     */
    @ApiModelProperty(name = "maxReading", value = "最大读数")
    private BigDecimal maxReading;
    /**
     * 初始读数
     */
    @ApiModelProperty(name = "startReading", value = "初始读数")
    private BigDecimal startReading;
    /**
     * 回程
     */
    @ApiModelProperty(name = "backhaul", value = "回程")
    private String backhaul;
    /**
     * 是否抄表 0:否;1:是;
     */
    @ApiModelProperty(name = "izReadingMeter", value = "是否抄表 0:否;1:是;")
    private String izReadingMeter;
    /**
     * 抄表时间
     */
    @ApiModelProperty(name = "readingTime", value = "抄表时间")
    private Date readingTime;
    /**
     * 原始读数
     */
    /* @ApiModelProperty(name = "originalReading", value = "原始读数")
    private String originalReading; */
    /**
     * 设备类型
     */
    @ApiModelProperty(name = "equipmentType", value = "设备类型")
    private String equipmentType;
    /**
     * 设备编码
     */
    @ApiModelProperty(name = "equipmentNo", value = "设备编码")
    private String equipmentNo;
    /**
     * 关联资产id
     */
    @ApiModelProperty(name = "propertyId", value = "关联资产id")
    private Long propertyId;
    /**
     * 收费标准id
     */
    @ApiModelProperty(name = "ratesId", value = "收费标准id")
    private Long ratesId;
    /**
     * 状态 1:可用;2:不可用;
     */
    @ApiModelProperty(name = "state", value = "状态 1:可用;2:不可用;")
    private String state;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * 是否被更换 0:否;1:是;
     */
    @ApiModelProperty(name = "izChange", value = "是否被更换 0:否;1:是;")
    private String izChange;
    /**
     *  上次读数日期
     */
    @ApiModelProperty(name = "lastReadingDate", value = "上次读数日期")
    private Date lastReadingDate;
    /**
     * 上次读数
     */
    @ApiModelProperty(name = "lastReading", value = "上次读数")
    private BigDecimal lastReading;
    /**
     * 更换日期
     */
    @ApiModelProperty(name = "changeDate", value = "更换日期")
    private Date changeDate;
    /**
     * 更换时读数
     */
    @ApiModelProperty(name = "changeReading", value = "更换时读数")
    private BigDecimal changeReading;


}
