package vip.xiaonuo.modular.energy.energyWater.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import vip.xiaonuo.core.param.OrgIdParam;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class EnergyWaterListParm extends OrgIdParam {
    /** 栋舍ID */
    @ApiModelProperty(value = "栋舍ID", position = 1)
    private String pigpenId;

    /** 显示类型 */
    @ApiModelProperty(value = "显示类型", required = true, position = 2, example = "0:今日, 1:本周, 2:本月, 3:自定义, 4:近七天")
    @NotBlank(message = "显示类型不能为空")
    private String type;

    /** 开始时间 */
    @ApiModelProperty(value = "开始时间", position = 3)
    private String startDate;

    /** 结束时间 */
    @ApiModelProperty(value = "结束时间", position = 4)
    private String endDate;
}
