TaxonomyCwrInfo.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.api.model;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
public class TaxonomyCwrInfo {
/** Taxonomy CWR ID. */
private Long id;
/** Crop Name: The taxonomic crop name for this taxon. */
private String cropName;
/** Crop Common Name: The common name for the crop and/or subcrops. */
private String cropCommonName;
/** Display Name: The sortable taxonomic crop name for this taxon. */
private String displayName;
public TaxonomyCwrInfo(Long id) {
this.id = id;
}
}