package com.njcn.advance.pojo.carrycapacity.param;

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

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

/**
 * Description:
 * Date: 2024/3/8  16:23【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CarryCapacityResultParam {
    /**
     * 承载能力评估id
     */
    private String id;


    private String evaluateType;


    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class CarryCapacityResultPageParam extends CarryCapacityResultParam {

        @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 startTime;

        @ApiModelProperty(value="结束时间")
        private String endTime;

    }
}