This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package ru.soune.nocopy.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum ContentStatus {
|
||||
PROCESSING("processing"),
|
||||
COMPLETED("completed"),
|
||||
ERROR("error");
|
||||
|
||||
private final String code;
|
||||
|
||||
ContentStatus(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user