AccessionInvNameInfo.java
/*
* Copyright 2026 Global Crop Diversity Trust
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root folder or http://www.apache.org/licenses/LICENSE-2.0
*/
package org.gringlobal.model.elastic;
import org.gringlobal.custom.elasticsearch.SearchField;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
@Getter
@Setter
public class AccessionInvNameInfo {
private Long id;
@Field(type = FieldType.Keyword)
private String categoryCode;
@SearchField
@Field(type = FieldType.Keyword)
private String plantName;
private Integer plantNameRank;
@Field(type = FieldType.Keyword)
private String isWebVisible;
@Field(type = FieldType.Text)
private String note;
}