NCP-3 Update entity like helper.php

This commit is contained in:
vladp
2025-11-26 15:49:51 +07:00
parent d9faa311a9
commit c2d44b3428
11 changed files with 360 additions and 42 deletions
@@ -1,5 +1,20 @@
package ru.soune.no_copy.entity;
import lombok.Getter;
@Getter
public enum ContentStatus {
PROCESSING, COMPLETED, ERROR
PROCESSING("processing"),
COMPLETED("completed"),
ERROR("error");
private final String code;
ContentStatus(String code) {
this.code = code;
}
public String getCode() {
return code;
}
}