20 lines
335 B
Java
20 lines
335 B
Java
|
package eu.eudat.commons.enums;
|
||
|
|
||
|
import eu.eudat.data.converters.enums.DatabaseEnum;
|
||
|
|
||
|
public enum Status implements DatabaseEnum<Integer> {
|
||
|
|
||
|
Inactive(0),
|
||
|
Active( 1);
|
||
|
|
||
|
private final Integer value;
|
||
|
|
||
|
Status(Integer value) {
|
||
|
this.value = value;
|
||
|
}
|
||
|
|
||
|
public Integer getValue() {
|
||
|
return value;
|
||
|
}
|
||
|
}
|