Prechádzať zdrojové kódy

新增属性名常量

zhouhao 8 rokov pred
rodič
commit
a936877752

+ 5 - 1
hsweb-system/hsweb-system-authorization/hsweb-system-authorization-entity/src/main/java/org/hswebframework/web/entity/authorization/RoleEntity.java

@@ -3,12 +3,16 @@ package org.hswebframework.web.entity.authorization;
 import org.hswebframework.web.commons.entity.GenericEntity;
 
 /**
- * TODO 完成注释
+ * 角色实体
  *
  * @author zhouhao
  */
 public interface RoleEntity extends GenericEntity<String> {
 
+    String name     = "name";
+    String describe = "describe";
+    String enabled  = "enabled";
+
     String getName();
 
     void setName(String name);