InventoryViabilityInfo.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 java.time.LocalDate;
import java.util.Date;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
public class InventoryViabilityInfo {
@NotNull private Long id;
private Date testedDate;
private String testedDateCode;
private String vigorRatingCode;
private Double percentViable;
private LocalDate startedDate;
private Integer durationInDays;
public InventoryViabilityInfo(Long id) {
this.id = id;
}
}