You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
600 B
41 lines
600 B
package core.util;
|
|
|
|
/**
|
|
* Created by reborn on 2017/8/2.
|
|
*/
|
|
public enum DBAction {
|
|
|
|
C("创建","Create"),
|
|
|
|
U("更新","Update"),
|
|
|
|
R("读取","Retrieve"),
|
|
|
|
D("删除","Delete"),
|
|
|
|
BC("批量创建","BatchCreate"),
|
|
|
|
BU("批量更新","BatchUpdate"),
|
|
|
|
BR("批量读取","BatchRetrieve"),
|
|
|
|
BD("批量删除","BatchDelete");
|
|
|
|
|
|
private String ch;
|
|
|
|
private String en;
|
|
|
|
DBAction(String ch, String en) {
|
|
this.ch = ch;
|
|
this.en = en;
|
|
}
|
|
|
|
public String getCh() {
|
|
return ch;
|
|
}
|
|
|
|
public String getEn() {
|
|
return en;
|
|
}
|
|
}
|
|
|