Commit e4dc715458d353d5b5d1eecdd2d22c322986effa
1 parent
c5dd1d50
增加可见范围 enum
Showing
1 changed file
with
25 additions
and
0 deletions
yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/ChatRoleVisibilityEnum.java
0 → 100644
| 1 | +package cn.iocoder.yudao.module.ai.enums; | ||
| 2 | + | ||
| 3 | +import lombok.AllArgsConstructor; | ||
| 4 | +import lombok.Getter; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * chat角色 可见范围 | ||
| 8 | + * | ||
| 9 | + * @author fansili | ||
| 10 | + * @time 2024/4/24 16:44 | ||
| 11 | + * @since 1.0 | ||
| 12 | + */ | ||
| 13 | +@AllArgsConstructor | ||
| 14 | +@Getter | ||
| 15 | +public enum ChatRoleVisibilityEnum { | ||
| 16 | + | ||
| 17 | + PUBLIC("public", "公开"), | ||
| 18 | + PRIVATE("private", "私有的"), | ||
| 19 | + | ||
| 20 | + ; | ||
| 21 | + | ||
| 22 | + private String type; | ||
| 23 | + | ||
| 24 | + private String name; | ||
| 25 | +} |