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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;
import org.nest.springwrap.core.mp.support.Query;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author CXJ
 */
@Data
@ApiModel(value = "PropertyPublicMeterReadingDetailQueryDto")
public class PropertyPublicMeterReadingDetailQueryDto extends Query {


    @NotNull
    @ApiModelProperty(name = "parkId", value = "园区id")
    private Long parkId;



    @ApiModelProperty(name = "meterId", value = "仪表类型id")
    private Long meterId;

    @ApiModelProperty(name = "meterReadingTime", value = "抄表时间")
    private Date meterReadingTime;

    @NotNull
    @Range(min = 0,max = 1)
    @ApiModelProperty(name = "isReading", value = "抄表状态0未抄表,1已抄表")
    private Integer isReading;


    @ApiModelProperty(name = "isShare", value = "是否已经分摊,0未分摊1已分摊")
    private Integer isShare;
}
