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.
33 lines
442 B
33 lines
442 B
package core.util;
|
|
|
|
/**
|
|
* Created by reborn on 2017/8/2.
|
|
*/
|
|
public enum DBAction {
|
|
|
|
C("创建","Create"),
|
|
|
|
U("更新","Update"),
|
|
|
|
R("读取","Retrieve"),
|
|
|
|
D("删除","Delete");
|
|
|
|
|
|
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;
|
|
}
|
|
}
|
|
|