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_auto_house_meter_reading")
@ApiModel(value="SaasParkPropertyAutoHouseMeterReading对象", description="自动抄表-房屋抄表")
public class SaasParkPropertyAutoHouseMeterReading extends TenantEntity {

    /**
     * 项目id
     */
    @ApiModelProperty(name = "parkId", value = "项目id")
    private Long parkId;
    /**
     * 楼栋id
     */
    @ApiModelProperty(name = "buildingId", value = "楼栋id")
    private Long buildingId;
    /**
     * 单元id
     */
    @ApiModelProperty(name = "elementId", value = "单元id")
    private Long elementId;
    /**
     * 房间id
     */
    @ApiModelProperty(name = "roomId", value = "房间id")
    private Long roomId;
    /**
     * 资源代码
     */
    @ApiModelProperty(name = "resourceCode", value = "资源代码")
    private String resourceCode;
    /**
     * 资源类型
     */
    @ApiModelProperty(name = "resourceType", value = "资源类型")
    private String resourceType;
    /**
     * 仪表名称
     */
    @ApiModelProperty(name = "meterName", value = "仪表名称")
    private String meterName;
    /**
     * 上期抄表时间
     */
    @ApiModelProperty(name = "lastReadingTime", value = "上期抄表时间")
    private Date lastReadingTime;
    /**
     * 上期读数
     */
    @ApiModelProperty(name = "lastReadingNumber", value = "上期读数")
    private BigDecimal lastReadingNumber;
    /**
     * 本期抄表时间
     */
    @ApiModelProperty(name = "currentReadingTime", value = "本期抄表时间")
    private Date currentReadingTime;
    /**
     * 本期读数
     */
    @ApiModelProperty(name = "currentReadingNumber", value = "本期读数")
    private BigDecimal currentReadingNumber;
    /**
     * 倍率
     */
    @ApiModelProperty(name = "multiplyingPower", value = "倍率")
    private BigDecimal multiplyingPower;
    /**
     * 用量
     */
    @ApiModelProperty(name = "useNumber", value = "用量")
    private BigDecimal useNumber;
    /**
     * 设备编号
     */
    @ApiModelProperty(name = "meterNo", value = "设备编号")
    private String meterNo;
    /**
     * 上报时间
     */
    @ApiModelProperty(name = "uploadTime", value = "上报时间")
    private Date uploadTime;



}
