Add controlled list of conservation status
This commit is contained in:
parent
c3dfdbb5ac
commit
4daf580355
21
src/MDConservationStatusSet.php
Normal file
21
src/MDConservationStatusSet.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?PHP
|
||||||
|
/**
|
||||||
|
* Contains a class for controlling the list of available recording types and sources.
|
||||||
|
*
|
||||||
|
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
||||||
|
*/
|
||||||
|
declare(strict_types = 1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class containing available units for weights, lengths etc.
|
||||||
|
*/
|
||||||
|
final class MDConservationStatusSet extends MDValueSet {
|
||||||
|
|
||||||
|
const STATUS_LEVELS = [
|
||||||
|
1 => '',
|
||||||
|
34 => 'markedBad',
|
||||||
|
67 => 'markedMedium',
|
||||||
|
100 => 'markedGood'
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user