mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-30 03:03:13 +08:00
Fix some team project bugs
This commit is contained in:
@ -1,34 +0,0 @@
|
||||
package ai.chat2db.server.domain.api.enums;
|
||||
|
||||
import ai.chat2db.server.tools.base.enums.BaseEnum;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* Environment
|
||||
*
|
||||
* @author Jiaju Zhuang
|
||||
*/
|
||||
@Getter
|
||||
public enum EnvironmentStyleEnum implements BaseEnum<String> {
|
||||
/**
|
||||
* RELEASE
|
||||
*/
|
||||
RELEASE("RELEASE"),
|
||||
|
||||
/**
|
||||
* TEST
|
||||
*/
|
||||
TEST("TEST"),
|
||||
|
||||
;
|
||||
final String description;
|
||||
|
||||
EnvironmentStyleEnum(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCode() {
|
||||
return this.name();
|
||||
}
|
||||
}
|
@ -3,7 +3,6 @@ package ai.chat2db.server.domain.api.model;
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
import ai.chat2db.server.domain.api.enums.EnvironmentStyleEnum;
|
||||
import ai.chat2db.server.tools.base.constant.EasyToolsConstant;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
@ -40,9 +39,7 @@ public class Environment implements Serializable {
|
||||
private String shortName;
|
||||
|
||||
/**
|
||||
* 样式类型
|
||||
*
|
||||
* @see EnvironmentStyleEnum
|
||||
* 颜色
|
||||
*/
|
||||
private String style;
|
||||
private String color;
|
||||
}
|
||||
|
Reference in New Issue
Block a user