From 275c6712e9f56f1132ad79e91484150e39ca274b Mon Sep 17 00:00:00 2001 From: Balaji Alluru <74903654+balaji-alluru@users.noreply.github.com> Date: Wed, 11 Oct 2023 09:01:38 +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")