diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 30e2ce2da..ea7b1b04a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,20 @@ This project adheres to `Semantic Versioning `_. **Added** +* Add new product unit types to ``life.qbic.datamodel.dtos.business.services.ProductUnit`` (`#215 `_) + + - PER_HOUR("Hour"), + - PER_PROJECT("Project"), + - PER_RUN("Run"), + - PER_CYCLE("Cycle"), + - PER_GEL("Gel/HpH"), + - PER_10_MG("10 milligram"), + - PER_MEASUREMENT("Measurement"), + - PER_CHANNEL("Channel"), + - PER_100_MICROGRAM_PEPTIDE_CHANNEL("100 microgram peptides channel"), + - PER_500_ML("500 milliliter"), + - PER_COMPARISON("Comparison") + **Fixed** **Dependencies** diff --git a/src/main/groovy/life/qbic/datamodel/dtos/business/services/ProductUnit.groovy b/src/main/groovy/life/qbic/datamodel/dtos/business/services/ProductUnit.groovy index 4c38252f7..c4b626bac 100644 --- a/src/main/groovy/life/qbic/datamodel/dtos/business/services/ProductUnit.groovy +++ b/src/main/groovy/life/qbic/datamodel/dtos/business/services/ProductUnit.groovy @@ -10,7 +10,17 @@ enum ProductUnit { PER_GIGABYTE("Gigabyte"), PER_SAMPLE("Sample"), PER_DATASET("Dataset"), - PER_HOUR("Hour") + PER_HOUR("Hour"), + PER_PROJECT("Project"), + PER_RUN("Run"), + PER_CYCLE("Cycle"), + PER_GEL("Gel/HpH"), + PER_10_MG("10 milligram"), + PER_MEASUREMENT("Measurement"), + PER_CHANNEL("Channel"), + PER_100_MICROGRAM_PEPTIDE_CHANNEL("100 microgram peptides channel"), + PER_500_ML("500 milliliter"), + PER_COMPARISON("Comparison") /** Holds the String value of the enum @@ -42,4 +52,4 @@ enum ProductUnit { return this.getValue() } -} \ No newline at end of file +}