- 新增 Flyway V6/V7 迁移脚本,为全部 42 张表、591 个列添加中文注释 - 抽取公共常量类(BaseEntityConstants、CacheConstants、RoleConstants、TenantConstants) - 新增业务枚举(CommonStatus、RegistrationStatus、WorkStatus 等 11 个) - 优化赛事/作业/评审/UGC 等模块服务层代码 - 更新乐读派(leai)模块配置与 API 客户端 - 更新 e2e 测试用例及 demo 文件 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
344 B
Java
19 lines
344 B
Java
package com.competition.common.enums;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Getter;
|
|
|
|
/**
|
|
* 通用状态枚举(启用/禁用)
|
|
*/
|
|
@Getter
|
|
@AllArgsConstructor
|
|
public enum CommonStatus {
|
|
|
|
ENABLED("enabled", "启用"),
|
|
DISABLED("disabled", "禁用");
|
|
|
|
private final String value;
|
|
private final String description;
|
|
}
|