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

	/** Inventory Viability Rule ID. */
	private Long id;

	/** Name: Name of this viability rule. */
	private String name;

	/** Category: Germination category for this rule. */
	private String categoryCode;

	/** Number Of Replicates: Number of replicates for the test. */
	private Integer numberOfReplicates;

	/** Seeds Per Replicate: Number of seeds per replicate. */
	private Integer seedsPerReplicate;

	/** Substrata: Substrata used for the test. */
	private String substrata;

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