TaxonomyFamilyInfo.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 TaxonomyFamilyInfo {

	/** Taxonomy Family ID. */
	private Long id;

	/** Family: The taxonomic family name. */
	private String familyName;

	/** Family Authority: The author for the family name. */
	private String familyAuthority;

	/** Suprafamily Rank: The suprafamily rank. Uses TAXONOMY_SUPRAFAMILY vocabulary. */
	private String suprafamilyRankCode;

	/** Suprafamily Rank Name: The suprafamily name at the chosen suprafamily rank. */
	private String suprafamilyRankName;

	/** Subfamily: The name for a subfamily division of the family. */
	private String subfamilyName;

	/** Tribe: The name for a tribe division of the family. */
	private String tribeName;

	/** Subtribe: The name for a subtribe division of the family. */
	private String subtribeName;

	public TaxonomyFamilyInfo(Long id) {
		this.id = id;
	}

}