mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-16 05:20:42 +08:00
APPS ExtraAttr UPDATE
APPS ExtraAttr UPDATE
This commit is contained in:
@@ -13,6 +13,10 @@ public class ExtraAttr {
|
||||
String type;
|
||||
String value;
|
||||
|
||||
public ExtraAttr() {
|
||||
super();
|
||||
}
|
||||
|
||||
public ExtraAttr(String attr, String value) {
|
||||
super();
|
||||
this.attr = attr;
|
||||
|
||||
@@ -40,6 +40,13 @@ public class ExtraAttrs {
|
||||
this.extraAttrs.add(new ExtraAttr(attr,value));
|
||||
}
|
||||
|
||||
public void put(String attr,String type,String value) {
|
||||
if(extraAttrs==null){
|
||||
extraAttrs=new ArrayList<ExtraAttr>();
|
||||
}
|
||||
this.extraAttrs.add(new ExtraAttr(attr,type,value));
|
||||
}
|
||||
|
||||
public String get(String attr) {
|
||||
String value=null;
|
||||
if(extraAttrs!=null&& extraAttrs.size()!=0){
|
||||
|
||||
@@ -99,8 +99,6 @@ public class Apps extends JpaBaseDomain implements Serializable{
|
||||
*/
|
||||
private int isExtendAttr;
|
||||
private String extendAttr;
|
||||
private String attribute;
|
||||
private String attributeValue;
|
||||
|
||||
/**
|
||||
* Signature
|
||||
@@ -492,54 +490,6 @@ public class Apps extends JpaBaseDomain implements Serializable{
|
||||
this.extendAttr = extendAttr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return the attribute
|
||||
*/
|
||||
public String getAttribute() {
|
||||
return attribute;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param attribute the attribute to set
|
||||
*/
|
||||
public void setAttribute(String attribute) {
|
||||
this.attribute = attribute;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return the attributeValue
|
||||
*/
|
||||
public String getAttributeValue() {
|
||||
return attributeValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param attributeValue the attributeValue to set
|
||||
*/
|
||||
public void setAttributeValue(String attributeValue) {
|
||||
this.attributeValue = attributeValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public int getVisible() {
|
||||
return visible;
|
||||
}
|
||||
@@ -665,8 +615,7 @@ public class Apps extends JpaBaseDomain implements Serializable{
|
||||
+ ", credential=" + credential + ", sharedUsername="
|
||||
+ sharedUsername + ", sharedPassword=" + sharedPassword
|
||||
+ ", systemUserAttr=" + systemUserAttr + ", isExtendAttr="
|
||||
+ isExtendAttr + ", extendAttr=" + extendAttr + ", attribute="
|
||||
+ attribute + ", attributeValue=" + attributeValue
|
||||
+ isExtendAttr + ", extendAttr=" + extendAttr
|
||||
+ ", isSignature=" + isSignature
|
||||
+ "]";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user