All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.kernel.masterdata.dto.request.SearchDto Maven / Gradle / Ivy

There is a newer version: 1.2.1.0
Show newest version
package io.mosip.kernel.masterdata.dto.request;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

import io.mosip.kernel.masterdata.validator.ValidLangCode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Dto to hold the search criteria.
 * 
 * @author Abhishek Kumar
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SearchDto {

	@NotNull
	@Valid
	private List filters;

	@NotNull
	private List sort;

	// @NotNull
	private Pagination pagination;

	@ValidLangCode(message = "Language Code is Invalid")
	private String languageCode;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy