io.mosip.kernel.masterdata.dto.getresponse.ValidDocumentMapDto Maven / Gradle / Ivy
package io.mosip.kernel.masterdata.dto.getresponse;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import io.mosip.kernel.masterdata.validator.ValidLangCode;
import lombok.Data;
/**
*
* @author dhanendra
*
*/
@Data
public class ValidDocumentMapDto {
@NotBlank
@Size(min = 1, max = 36)
private String docTypeCode;
@NotBlank
@Size(min = 1, max = 36)
private String docCategoryCode;
@NotBlank
@Size(min = 1, max = 36)
private String docTypeName;
@ValidLangCode(message = "Language Code is Invalid")
// @NotBlank
// @Size(min = 1, max = 3)
private String langCode;
@NotNull
private Boolean isActive;
}