com.quhaodian.data.enums.DataState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discover-hibernate-common Show documentation
Show all versions of discover-hibernate-common Show documentation
discover-hibernate_common is a lib for hibernate
The newest version!
package com.quhaodian.data.enums;
public enum DataState {
add, update, delete;
@Override
public String toString() {
if (name().equals("add")) {
return "增加";
} else if (name().equals("update")) {
return "更新";
} else if (name().equals("delete")) {
return "删除";
}
return super.toString();
}
}