【添加】vo文件添加
This commit is contained in:
+279
@@ -0,0 +1,279 @@
|
||||
package com.jero.generater.modules.online.auth.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||
|
||||
public class AuthColumnVO implements Serializable {
|
||||
private static final long serialVersionUID = 5445993027926933917L;
|
||||
private String cgformId;
|
||||
private String code;
|
||||
private boolean formEditable;
|
||||
private boolean formShow;
|
||||
private String id;
|
||||
private Integer isShowForm;
|
||||
private Integer isShowList;
|
||||
private boolean listShow;
|
||||
private Integer status;
|
||||
private int switchFlag;
|
||||
private String tableName;
|
||||
private String tableNameTxt;
|
||||
private String title;
|
||||
private Integer type = 1;
|
||||
|
||||
/* access modifiers changed from: protected */
|
||||
public boolean canEqual(Object other) {
|
||||
return other instanceof AuthColumnVO;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof AuthColumnVO)) {
|
||||
return false;
|
||||
}
|
||||
AuthColumnVO authColumnVO = (AuthColumnVO) o;
|
||||
if (!authColumnVO.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
if (isListShow() != authColumnVO.isListShow()) {
|
||||
return false;
|
||||
}
|
||||
if (isFormShow() != authColumnVO.isFormShow()) {
|
||||
return false;
|
||||
}
|
||||
if (isFormEditable() != authColumnVO.isFormEditable()) {
|
||||
return false;
|
||||
}
|
||||
if (getSwitchFlag() != authColumnVO.getSwitchFlag()) {
|
||||
return false;
|
||||
}
|
||||
Integer type2 = getType();
|
||||
Integer type3 = authColumnVO.getType();
|
||||
if (type2 != null ? !type2.equals(type3) : type3 != null) {
|
||||
return false;
|
||||
}
|
||||
Integer status2 = getStatus();
|
||||
Integer status3 = authColumnVO.getStatus();
|
||||
if (status2 != null ? !status2.equals(status3) : status3 != null) {
|
||||
return false;
|
||||
}
|
||||
Integer isShowForm2 = getIsShowForm();
|
||||
Integer isShowForm3 = authColumnVO.getIsShowForm();
|
||||
if (isShowForm2 != null ? !isShowForm2.equals(isShowForm3) : isShowForm3 != null) {
|
||||
return false;
|
||||
}
|
||||
Integer isShowList2 = getIsShowList();
|
||||
Integer isShowList3 = authColumnVO.getIsShowList();
|
||||
if (isShowList2 != null ? !isShowList2.equals(isShowList3) : isShowList3 != null) {
|
||||
return false;
|
||||
}
|
||||
String id2 = getId();
|
||||
String id3 = authColumnVO.getId();
|
||||
if (id2 != null ? !id2.equals(id3) : id3 != null) {
|
||||
return false;
|
||||
}
|
||||
String cgformId2 = getCgformId();
|
||||
String cgformId3 = authColumnVO.getCgformId();
|
||||
if (cgformId2 != null ? !cgformId2.equals(cgformId3) : cgformId3 != null) {
|
||||
return false;
|
||||
}
|
||||
String code2 = getCode();
|
||||
String code3 = authColumnVO.getCode();
|
||||
if (code2 != null ? !code2.equals(code3) : code3 != null) {
|
||||
return false;
|
||||
}
|
||||
String title2 = getTitle();
|
||||
String title3 = authColumnVO.getTitle();
|
||||
if (title2 != null ? !title2.equals(title3) : title3 != null) {
|
||||
return false;
|
||||
}
|
||||
String tableName2 = getTableName();
|
||||
String tableName3 = authColumnVO.getTableName();
|
||||
if (tableName2 != null ? !tableName2.equals(tableName3) : tableName3 != null) {
|
||||
return false;
|
||||
}
|
||||
String tableNameTxt2 = getTableNameTxt();
|
||||
String tableNameTxt3 = authColumnVO.getTableNameTxt();
|
||||
if (tableNameTxt2 == null) {
|
||||
if (tableNameTxt3 == null) {
|
||||
return true;
|
||||
}
|
||||
} else if (tableNameTxt2.equals(tableNameTxt3)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int i = 79;
|
||||
int i2 = 43;
|
||||
int i3 = ((isFormShow() ? 79 : 97) + (((isListShow() ? 79 : 97) + 59) * 59)) * 59;
|
||||
if (!isFormEditable()) {
|
||||
i = 97;
|
||||
}
|
||||
int switchFlag2 = ((i3 + i) * 59) + getSwitchFlag();
|
||||
Integer type2 = getType();
|
||||
int i4 = switchFlag2 * 59;
|
||||
int hashCode = type2 == null ? 43 : type2.hashCode();
|
||||
Integer status2 = getStatus();
|
||||
int i5 = (hashCode + i4) * 59;
|
||||
int hashCode2 = status2 == null ? 43 : status2.hashCode();
|
||||
Integer isShowForm2 = getIsShowForm();
|
||||
int i6 = (hashCode2 + i5) * 59;
|
||||
int hashCode3 = isShowForm2 == null ? 43 : isShowForm2.hashCode();
|
||||
Integer isShowList2 = getIsShowList();
|
||||
int i7 = (hashCode3 + i6) * 59;
|
||||
int hashCode4 = isShowList2 == null ? 43 : isShowList2.hashCode();
|
||||
String id2 = getId();
|
||||
int i8 = (hashCode4 + i7) * 59;
|
||||
int hashCode5 = id2 == null ? 43 : id2.hashCode();
|
||||
String cgformId2 = getCgformId();
|
||||
int i9 = (hashCode5 + i8) * 59;
|
||||
int hashCode6 = cgformId2 == null ? 43 : cgformId2.hashCode();
|
||||
String code2 = getCode();
|
||||
int i10 = (hashCode6 + i9) * 59;
|
||||
int hashCode7 = code2 == null ? 43 : code2.hashCode();
|
||||
String title2 = getTitle();
|
||||
int i11 = (hashCode7 + i10) * 59;
|
||||
int hashCode8 = title2 == null ? 43 : title2.hashCode();
|
||||
String tableName2 = getTableName();
|
||||
int i12 = (hashCode8 + i11) * 59;
|
||||
int hashCode9 = tableName2 == null ? 43 : tableName2.hashCode();
|
||||
String tableNameTxt2 = getTableNameTxt();
|
||||
int i13 = (hashCode9 + i12) * 59;
|
||||
if (tableNameTxt2 != null) {
|
||||
i2 = tableNameTxt2.hashCode();
|
||||
}
|
||||
return i13 + i2;
|
||||
}
|
||||
|
||||
public void setCgformId(String cgformId2) {
|
||||
this.cgformId = cgformId2;
|
||||
}
|
||||
|
||||
public void setCode(String code2) {
|
||||
this.code = code2;
|
||||
}
|
||||
|
||||
public void setFormEditable(boolean formEditable2) {
|
||||
this.formEditable = formEditable2;
|
||||
}
|
||||
|
||||
public void setFormShow(boolean formShow2) {
|
||||
this.formShow = formShow2;
|
||||
}
|
||||
|
||||
public void setId(String id2) {
|
||||
this.id = id2;
|
||||
}
|
||||
|
||||
public void setIsShowForm(Integer isShowForm2) {
|
||||
this.isShowForm = isShowForm2;
|
||||
}
|
||||
|
||||
public void setIsShowList(Integer isShowList2) {
|
||||
this.isShowList = isShowList2;
|
||||
}
|
||||
|
||||
public void setListShow(boolean listShow2) {
|
||||
this.listShow = listShow2;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status2) {
|
||||
this.status = status2;
|
||||
}
|
||||
|
||||
public void setSwitchFlag(int switchFlag2) {
|
||||
this.switchFlag = switchFlag2;
|
||||
}
|
||||
|
||||
public void setTableName(String tableName2) {
|
||||
this.tableName = tableName2;
|
||||
}
|
||||
|
||||
public void setTableNameTxt(String tableNameTxt2) {
|
||||
this.tableNameTxt = tableNameTxt2;
|
||||
}
|
||||
|
||||
public void setTitle(String title2) {
|
||||
this.title = title2;
|
||||
}
|
||||
|
||||
public void setType(Integer type2) {
|
||||
this.type = type2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AuthColumnVO(id=" + getId() + ", cgformId=" + getCgformId() + ", type=" + getType() + ", code=" + getCode() + ", title=" + getTitle() + ", status=" + getStatus() + ", listShow=" + isListShow() + ", formShow=" + isFormShow() + ", formEditable=" + isFormEditable() + ", isShowForm=" + getIsShowForm() + ", isShowList=" + getIsShowList() + ", tableName=" + getTableName() + ", tableNameTxt=" + getTableNameTxt() + ", switchFlag=" + getSwitchFlag() + ")";
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getCgformId() {
|
||||
return this.cgformId;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public boolean isListShow() {
|
||||
return this.listShow;
|
||||
}
|
||||
|
||||
public boolean isFormShow() {
|
||||
return this.formShow;
|
||||
}
|
||||
|
||||
public boolean isFormEditable() {
|
||||
return this.formEditable;
|
||||
}
|
||||
|
||||
public Integer getIsShowForm() {
|
||||
return this.isShowForm;
|
||||
}
|
||||
|
||||
public Integer getIsShowList() {
|
||||
return this.isShowList;
|
||||
}
|
||||
|
||||
public String getTableName() {
|
||||
return this.tableName;
|
||||
}
|
||||
|
||||
public String getTableNameTxt() {
|
||||
return this.tableNameTxt;
|
||||
}
|
||||
|
||||
public int getSwitchFlag() {
|
||||
return this.switchFlag;
|
||||
}
|
||||
|
||||
public AuthColumnVO() {
|
||||
}
|
||||
|
||||
public AuthColumnVO(OnlCgformField field) {
|
||||
this.id = field.getId();
|
||||
this.cgformId = field.getCgformHeadId();
|
||||
this.code = field.getDbFieldName();
|
||||
this.title = field.getDbFieldTxt();
|
||||
this.type = 1;
|
||||
this.isShowForm = field.getIsShowForm();
|
||||
this.isShowList = field.getIsShowList();
|
||||
}
|
||||
}
|
||||
+112
@@ -0,0 +1,112 @@
|
||||
package com.jero.generater.modules.online.auth.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AuthDataVO implements Serializable {
|
||||
private static final long serialVersionUID = 1057819436991228603L;
|
||||
private Boolean checked;
|
||||
private String id;
|
||||
private String relId;
|
||||
private String title;
|
||||
|
||||
/* access modifiers changed from: protected */
|
||||
public boolean canEqual(Object other) {
|
||||
return other instanceof AuthDataVO;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof AuthDataVO)) {
|
||||
return false;
|
||||
}
|
||||
AuthDataVO authDataVO = (AuthDataVO) o;
|
||||
if (!authDataVO.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
Boolean checked2 = getChecked();
|
||||
Boolean checked3 = authDataVO.getChecked();
|
||||
if (checked2 != null ? !checked2.equals(checked3) : checked3 != null) {
|
||||
return false;
|
||||
}
|
||||
String id2 = getId();
|
||||
String id3 = authDataVO.getId();
|
||||
if (id2 != null ? !id2.equals(id3) : id3 != null) {
|
||||
return false;
|
||||
}
|
||||
String title2 = getTitle();
|
||||
String title3 = authDataVO.getTitle();
|
||||
if (title2 != null ? !title2.equals(title3) : title3 != null) {
|
||||
return false;
|
||||
}
|
||||
String relId2 = getRelId();
|
||||
String relId3 = authDataVO.getRelId();
|
||||
if (relId2 == null) {
|
||||
if (relId3 == null) {
|
||||
return true;
|
||||
}
|
||||
} else if (relId2.equals(relId3)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int i = 43;
|
||||
Boolean checked2 = getChecked();
|
||||
int hashCode = checked2 == null ? 43 : checked2.hashCode();
|
||||
String id2 = getId();
|
||||
int i2 = (hashCode + 59) * 59;
|
||||
int hashCode2 = id2 == null ? 43 : id2.hashCode();
|
||||
String title2 = getTitle();
|
||||
int i3 = (hashCode2 + i2) * 59;
|
||||
int hashCode3 = title2 == null ? 43 : title2.hashCode();
|
||||
String relId2 = getRelId();
|
||||
int i4 = (hashCode3 + i3) * 59;
|
||||
if (relId2 != null) {
|
||||
i = relId2.hashCode();
|
||||
}
|
||||
return i4 + i;
|
||||
}
|
||||
|
||||
public void setChecked(Boolean checked2) {
|
||||
this.checked = checked2;
|
||||
}
|
||||
|
||||
public void setId(String id2) {
|
||||
this.id = id2;
|
||||
}
|
||||
|
||||
public void setRelId(String relId2) {
|
||||
this.relId = relId2;
|
||||
}
|
||||
|
||||
public void setTitle(String title2) {
|
||||
this.title = title2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AuthDataVO(id=" + getId() + ", title=" + getTitle() + ", relId=" + getRelId() + ", checked=" + getChecked() + ")";
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public String getRelId() {
|
||||
return this.relId;
|
||||
}
|
||||
|
||||
public Boolean getChecked() {
|
||||
return this.checked;
|
||||
}
|
||||
|
||||
public Boolean isChecked() {
|
||||
return Boolean.valueOf(this.relId != null && this.relId.length() > 0);
|
||||
}
|
||||
}
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
package com.jero.generater.modules.online.auth.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AuthPageVO implements Serializable {
|
||||
private static final long serialVersionUID = 724713901683956568L;
|
||||
private Boolean checked;
|
||||
private String code;
|
||||
private Integer control;
|
||||
private String id;
|
||||
private Integer page;
|
||||
private String relId;
|
||||
private String title;
|
||||
|
||||
/* access modifiers changed from: protected */
|
||||
public boolean canEqual(Object other) {
|
||||
return other instanceof AuthPageVO;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof AuthPageVO)) {
|
||||
return false;
|
||||
}
|
||||
AuthPageVO authPageVO = (AuthPageVO) o;
|
||||
if (!authPageVO.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
Integer page2 = getPage();
|
||||
Integer page3 = authPageVO.getPage();
|
||||
if (page2 != null ? !page2.equals(page3) : page3 != null) {
|
||||
return false;
|
||||
}
|
||||
Integer control2 = getControl();
|
||||
Integer control3 = authPageVO.getControl();
|
||||
if (control2 != null ? !control2.equals(control3) : control3 != null) {
|
||||
return false;
|
||||
}
|
||||
Boolean checked2 = getChecked();
|
||||
Boolean checked3 = authPageVO.getChecked();
|
||||
if (checked2 != null ? !checked2.equals(checked3) : checked3 != null) {
|
||||
return false;
|
||||
}
|
||||
String id2 = getId();
|
||||
String id3 = authPageVO.getId();
|
||||
if (id2 != null ? !id2.equals(id3) : id3 != null) {
|
||||
return false;
|
||||
}
|
||||
String code2 = getCode();
|
||||
String code3 = authPageVO.getCode();
|
||||
if (code2 != null ? !code2.equals(code3) : code3 != null) {
|
||||
return false;
|
||||
}
|
||||
String title2 = getTitle();
|
||||
String title3 = authPageVO.getTitle();
|
||||
if (title2 != null ? !title2.equals(title3) : title3 != null) {
|
||||
return false;
|
||||
}
|
||||
String relId2 = getRelId();
|
||||
String relId3 = authPageVO.getRelId();
|
||||
if (relId2 == null) {
|
||||
if (relId3 == null) {
|
||||
return true;
|
||||
}
|
||||
} else if (relId2.equals(relId3)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int i = 43;
|
||||
Integer page2 = getPage();
|
||||
int hashCode = page2 == null ? 43 : page2.hashCode();
|
||||
Integer control2 = getControl();
|
||||
int i2 = (hashCode + 59) * 59;
|
||||
int hashCode2 = control2 == null ? 43 : control2.hashCode();
|
||||
Boolean checked2 = getChecked();
|
||||
int i3 = (hashCode2 + i2) * 59;
|
||||
int hashCode3 = checked2 == null ? 43 : checked2.hashCode();
|
||||
String id2 = getId();
|
||||
int i4 = (hashCode3 + i3) * 59;
|
||||
int hashCode4 = id2 == null ? 43 : id2.hashCode();
|
||||
String code2 = getCode();
|
||||
int i5 = (hashCode4 + i4) * 59;
|
||||
int hashCode5 = code2 == null ? 43 : code2.hashCode();
|
||||
String title2 = getTitle();
|
||||
int i6 = (hashCode5 + i5) * 59;
|
||||
int hashCode6 = title2 == null ? 43 : title2.hashCode();
|
||||
String relId2 = getRelId();
|
||||
int i7 = (hashCode6 + i6) * 59;
|
||||
if (relId2 != null) {
|
||||
i = relId2.hashCode();
|
||||
}
|
||||
return i7 + i;
|
||||
}
|
||||
|
||||
public void setChecked(Boolean checked2) {
|
||||
this.checked = checked2;
|
||||
}
|
||||
|
||||
public void setCode(String code2) {
|
||||
this.code = code2;
|
||||
}
|
||||
|
||||
public void setControl(Integer control2) {
|
||||
this.control = control2;
|
||||
}
|
||||
|
||||
public void setId(String id2) {
|
||||
this.id = id2;
|
||||
}
|
||||
|
||||
public void setPage(Integer page2) {
|
||||
this.page = page2;
|
||||
}
|
||||
|
||||
public void setRelId(String relId2) {
|
||||
this.relId = relId2;
|
||||
}
|
||||
|
||||
public void setTitle(String title2) {
|
||||
this.title = title2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AuthPageVO(id=" + getId() + ", code=" + getCode() + ", title=" + getTitle() + ", page=" + getPage() + ", control=" + getControl() + ", relId=" + getRelId() + ", checked=" + getChecked() + ")";
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public Integer getPage() {
|
||||
return this.page;
|
||||
}
|
||||
|
||||
public Integer getControl() {
|
||||
return this.control;
|
||||
}
|
||||
|
||||
public String getRelId() {
|
||||
return this.relId;
|
||||
}
|
||||
|
||||
public Boolean getChecked() {
|
||||
return this.checked;
|
||||
}
|
||||
|
||||
public Boolean isChecked() {
|
||||
return Boolean.valueOf(this.relId != null && this.relId.length() > 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user