From 689da74dc535f1d0ee0b1253f218375381b6d756 Mon Sep 17 00:00:00 2001 From: Balaji Alluru <74903654+balaji-alluru@users.noreply.github.com> Date: Thu, 12 Oct 2023 13:20:25 +0530 Subject: [PATCH] [MOSIP-29726]Update LocationExtnDto.java Signed-off-by: Balaji Alluru <74903654+balaji-alluru@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")