package com.xdap.self_development.controller.form;

import lombok.Data;

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

@Data
public class ParameterPageForm {
	@NotBlank(message = "请选择模板")
	private String templateRowId;

	@NotNull(message = "页码不能为空")
	@Min(value = 1, message = "页码不能小于1")
	private Integer pageNumber;

	@NotNull(message = "每页条数不能为空")
	@Min(value = 1, message = "每页条数不能小于1")
	private Integer pageSize;

	private String parameterType;
	private String partsName;
	private String parameterName;
}
