From 8e8064ac1902c79147bdc8333b44d9f33664ef09 Mon Sep 17 00:00:00 2001 From: Balaji Alluru <74903654+balaji-alluru@users.noreply.github.com> Date: Thu, 12 Oct 2023 12:35:24 +0530 Subject: [PATCH] [MOSIP-29726]Update LocationExtnDto.java (#906) Signed-off-by: Balaji Alluru <74903654+balaji-alluru@users.noreply.github.com> Signed-off-by: Yash S <119652212+yashmsonkusare@users.noreply.github.com> --- .../kernel/masterdata/dto/getresponse/extn/LocationExtnDto.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/kernel-masterdata-service/src/main/java/io/mosip/kernel/masterdata/dto/getresponse/extn/LocationExtnDto.java b/admin/kernel-masterdata-service/src/main/java/io/mosip/kernel/masterdata/dto/getresponse/extn/LocationExtnDto.java index 23f71cfb66a..ed8a742fadb 100644 --- a/admin/kernel-masterdata-service/src/main/java/io/mosip/kernel/masterdata/dto/getresponse/extn/LocationExtnDto.java +++ b/admin/kernel-masterdata-service/src/main/java/io/mosip/kernel/masterdata/dto/getresponse/extn/LocationExtnDto.java @@ -34,7 +34,7 @@ public class LocationExtnDto extends BaseDto { @JsonDeserialize(using = CustomIntegerDeserializer.class) @Range(min = 0) @ApiModelProperty(value = "hierarchyLevel", required = true, dataType = "java.lang.Integer") - private int hierarchyLevel; + private short hierarchyLevel; @FilterType(types = { FilterTypeEnum.EQUALS, FilterTypeEnum.CONTAINS, FilterTypeEnum.STARTSWITH }) @ApiModelProperty(value = "hierarchyName", required = true, dataType = "java.lang.String")