Seed moisture content
Add to SeedInventoryExtra
the fields to record the moisture content (MC) of seed and the date when it was measured.
@Min(0) @Max(100)
private Float moistureContent;
private Instant moistureContentDate;
@CodeValue(DATE_FORMAT)
private String moistureContentDateCode;
These properties should be copied over to any split inventory, similar to how we copy intialSeedViability
.
In the InventoryController
we need an extra endpoint .../moisture-content
to update only the MC fields.