package com.njcn.csharmonic.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 
 * Description:
 * Date: 2023/9/4  15:15【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@NoArgsConstructor
public class CsEventUserQueryPage extends CsEventUserQueryParam{

    @NotNull(message="当前页不能为空！")
    @Min(value = 1, message = "当前页不能为0")
    @ApiModelProperty(value = "当前页",name = "pageNum",dataType ="Integer",required = true)
    private Integer pageNum;
    /**显示条数*/
    @NotNull(message="显示条数不能为空！")
    @ApiModelProperty(value = "显示条数",name = "pageSize",dataType ="Integer",required = true)
    private Integer pageSize;


    @ApiModelProperty(value = "设备类型名称(便携式，治理)")
    private String deviceTypeName;

    @ApiModelProperty(value = "工程id")
    private String engineeringid;


    @ApiModelProperty(value = "项目id")
    private String projectId;
    /**
     * 装置id
     */
    private String deviceId;

    @ApiModelProperty(value = "测点id")
    private String lineId;

    @ApiModelProperty(value = "排序字段 0:发生时间 1:幅值 2:持续时间")
    private Integer sortField;
}