1
|
package cz.zcu.kiv.backendapi.path;
|
2
|
|
3
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
4
|
import cz.zcu.kiv.backendapi.catalog.CatalogItemDto;
|
5
|
import lombok.AllArgsConstructor;
|
6
|
import lombok.Data;
|
7
|
import lombok.NoArgsConstructor;
|
8
|
|
9
|
import java.util.List;
|
10
|
|
11
|
/**
|
12
|
* Class representing DTO for path
|
13
|
*/
|
14
|
@Data
|
15
|
@AllArgsConstructor
|
16
|
@NoArgsConstructor
|
17
|
public class PathDto {
|
18
|
/**
|
19
|
* Text to be searched / highlighted text
|
20
|
*/
|
21
|
private String text;
|
22
|
|
23
|
/**
|
24
|
* List of lists of found catalog items
|
25
|
*/
|
26
|
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
|
27
|
private List<List<CatalogItemDto>> foundCatalogItems;
|
28
|
}
|