com.ajaxjs.framework.Constant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ajaxjs-framework2 Show documentation
Show all versions of ajaxjs-framework2 Show documentation
AJAXJS aims to full-stack, not only the server-side framework,
but also integrates the front-end library. It's written in HTML5 + Java, a successor to the JVM platform, efficient, secure, stable, cross-platform and many other advantages, but it abandoned the traditional enterprise architecture brought about by the large and bloated,
emphasizing the lightweight, and fast, very suitable for the Internet fast application.
The newest version!
package com.ajaxjs.framework;
/**
* 实体常量
*
* @author Frank Cheung
*
*/
public interface Constant {
/**
* 实体状态
*
* @author Frank Cheung
*
*/
public static enum Status {
ONLINE(1, "上线"), OFFLINE(2, "下线"), NON_DEL(1, "未删除"), DELETED(2, "已删除");
public int value;
public String desc;
public int getValue() {
return value;
}
/**
*
* @param value 值
* @param desc 说明
*/
Status(int value, String desc) {
this.value = value;
this.desc = desc;
}
}
}