- 新增 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>
21 lines
392 B
Java
21 lines
392 B
Java
package com.competition.common.enums;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Getter;
|
|
|
|
/**
|
|
* 可见性枚举
|
|
*/
|
|
@Getter
|
|
@AllArgsConstructor
|
|
public enum Visibility {
|
|
|
|
PUBLIC("public", "公开"),
|
|
DESIGNATED("designated", "指定"),
|
|
INTERNAL("internal", "内部"),
|
|
PRIVATE("private", "私有");
|
|
|
|
private final String value;
|
|
private final String description;
|
|
}
|