init
This commit is contained in:
18
src/main/java/com/caliverse/admin/history/entity/DBType.java
Normal file
18
src/main/java/com/caliverse/admin/history/entity/DBType.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package com.caliverse.admin.history.entity;
|
||||
|
||||
public enum DBType {
|
||||
|
||||
DYNAMODB,
|
||||
MYSQL,
|
||||
MONGODB
|
||||
;
|
||||
|
||||
public static DBType getHistoryType(String type) {
|
||||
for (DBType historyType : DBType.values()) {
|
||||
if (historyType.name().equals(type)) {
|
||||
return historyType;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.caliverse.admin.history.entity;
|
||||
|
||||
public enum EDBOperationType {
|
||||
|
||||
INSERT("등록"),
|
||||
UPDATE("수정"),
|
||||
DELETE("삭제");
|
||||
|
||||
private String operationType;
|
||||
EDBOperationType(String type) {
|
||||
this.operationType = type;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user