|
@@ -1,5 +1,7 @@
|
|
package com.yaoxiang.diagnosis.entity;
|
|
package com.yaoxiang.diagnosis.entity;
|
|
|
|
|
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
|
+
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.GeneratedValue;
|
|
import javax.persistence.GeneratedValue;
|
|
import javax.persistence.GenerationType;
|
|
import javax.persistence.GenerationType;
|
|
@@ -11,6 +13,8 @@ public class Authority {
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
private Long id;
|
|
private Long id;
|
|
private String name;
|
|
private String name;
|
|
|
|
+ @ApiModelProperty("权限类型 function business ")
|
|
|
|
+ private String type;
|
|
private String des;
|
|
private String des;
|
|
|
|
|
|
public Long getId() {
|
|
public Long getId() {
|
|
@@ -29,6 +33,14 @@ public class Authority {
|
|
this.name = name;
|
|
this.name = name;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String getType() {
|
|
|
|
+ return type;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setType(String type) {
|
|
|
|
+ this.type = type;
|
|
|
|
+ }
|
|
|
|
+
|
|
public String getDes() {
|
|
public String getDes() {
|
|
return des;
|
|
return des;
|
|
}
|
|
}
|