【添加】实体文件
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
package com.jero.generater.modules.online.auth.b;
|
||||
|
||||
public class AuthConstants {
|
||||
public static final int a = 3;
|
||||
public static final int b = 5;
|
||||
public static final int c = 3;
|
||||
public static final int d = 5;
|
||||
public static final String e = "create_by,sys_org_code,create_time";
|
||||
public static final int f = 1;
|
||||
public static final int g = 2;
|
||||
public static final int h = 3;
|
||||
public static final int i = 1;
|
||||
public static final int j = 0;
|
||||
public static final int k = 1;
|
||||
public static final int l = 2;
|
||||
public static final int m = 3;
|
||||
}
|
||||
+274
@@ -0,0 +1,274 @@
|
||||
package com.jero.generater.modules.online.auth.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
@ApiModel(description = "onl_auth_data", value = "onl_auth_data对象")
|
||||
@TableName("onl_auth_data")
|
||||
public class OnlAuthData implements Serializable {
|
||||
private static final long serialVersionUID = 1;
|
||||
@Excel(name = "online表ID", width = 15.0d)
|
||||
@ApiModelProperty("online表ID")
|
||||
private String cgformId;
|
||||
@ApiModelProperty("创建人")
|
||||
private String createBy;
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty("主键")
|
||||
private String id;
|
||||
@Excel(name = "规则列", width = 15.0d)
|
||||
@ApiModelProperty("规则列")
|
||||
private String ruleColumn;
|
||||
@Excel(name = "规则名", width = 15.0d)
|
||||
@ApiModelProperty("规则名")
|
||||
private String ruleName;
|
||||
@Excel(name = "规则条件 大于小于like", width = 15.0d)
|
||||
@ApiModelProperty("规则条件 大于小于like")
|
||||
private String ruleOperator;
|
||||
@Excel(name = "规则值", width = 15.0d)
|
||||
@ApiModelProperty("规则值")
|
||||
private String ruleValue;
|
||||
@Excel(name = "1有效 0无效", width = 15.0d)
|
||||
@ApiModelProperty("1有效 0无效")
|
||||
private Integer status;
|
||||
@ApiModelProperty("更新人")
|
||||
private String updateBy;
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@ApiModelProperty("更新日期")
|
||||
private Date updateTime;
|
||||
|
||||
public OnlAuthData setCgformId(String cgformId2) {
|
||||
this.cgformId = cgformId2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthData setCreateBy(String createBy2) {
|
||||
this.createBy = createBy2;
|
||||
return this;
|
||||
}
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
public OnlAuthData setCreateTime(Date createTime2) {
|
||||
this.createTime = createTime2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthData setId(String id2) {
|
||||
this.id = id2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthData setRuleColumn(String ruleColumn2) {
|
||||
this.ruleColumn = ruleColumn2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthData setRuleName(String ruleName2) {
|
||||
this.ruleName = ruleName2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthData setRuleOperator(String ruleOperator2) {
|
||||
this.ruleOperator = ruleOperator2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthData setRuleValue(String ruleValue2) {
|
||||
this.ruleValue = ruleValue2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthData setStatus(Integer status2) {
|
||||
this.status = status2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthData setUpdateBy(String updateBy2) {
|
||||
this.updateBy = updateBy2;
|
||||
return this;
|
||||
}
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
public OnlAuthData setUpdateTime(Date updateTime2) {
|
||||
this.updateTime = updateTime2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "OnlAuthData(id=" + getId() + ", cgformId=" + getCgformId() + ", ruleName=" + getRuleName() + ", ruleColumn=" + getRuleColumn() + ", ruleOperator=" + getRuleOperator() + ", ruleValue=" + getRuleValue() + ", status=" + getStatus() + ", createTime=" + getCreateTime() + ", createBy=" + getCreateBy() + ", updateBy=" + getUpdateBy() + ", updateTime=" + getUpdateTime() + ")";
|
||||
}
|
||||
|
||||
/* access modifiers changed from: protected */
|
||||
public boolean canEqual(Object other) {
|
||||
return other instanceof OnlAuthData;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof OnlAuthData)) {
|
||||
return false;
|
||||
}
|
||||
OnlAuthData onlAuthData = (OnlAuthData) o;
|
||||
if (!onlAuthData.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
Integer status2 = getStatus();
|
||||
Integer status3 = onlAuthData.getStatus();
|
||||
if (status2 != null ? !status2.equals(status3) : status3 != null) {
|
||||
return false;
|
||||
}
|
||||
String id2 = getId();
|
||||
String id3 = onlAuthData.getId();
|
||||
if (id2 != null ? !id2.equals(id3) : id3 != null) {
|
||||
return false;
|
||||
}
|
||||
String cgformId2 = getCgformId();
|
||||
String cgformId3 = onlAuthData.getCgformId();
|
||||
if (cgformId2 != null ? !cgformId2.equals(cgformId3) : cgformId3 != null) {
|
||||
return false;
|
||||
}
|
||||
String ruleName2 = getRuleName();
|
||||
String ruleName3 = onlAuthData.getRuleName();
|
||||
if (ruleName2 != null ? !ruleName2.equals(ruleName3) : ruleName3 != null) {
|
||||
return false;
|
||||
}
|
||||
String ruleColumn2 = getRuleColumn();
|
||||
String ruleColumn3 = onlAuthData.getRuleColumn();
|
||||
if (ruleColumn2 != null ? !ruleColumn2.equals(ruleColumn3) : ruleColumn3 != null) {
|
||||
return false;
|
||||
}
|
||||
String ruleOperator2 = getRuleOperator();
|
||||
String ruleOperator3 = onlAuthData.getRuleOperator();
|
||||
if (ruleOperator2 != null ? !ruleOperator2.equals(ruleOperator3) : ruleOperator3 != null) {
|
||||
return false;
|
||||
}
|
||||
String ruleValue2 = getRuleValue();
|
||||
String ruleValue3 = onlAuthData.getRuleValue();
|
||||
if (ruleValue2 != null ? !ruleValue2.equals(ruleValue3) : ruleValue3 != null) {
|
||||
return false;
|
||||
}
|
||||
Date createTime2 = getCreateTime();
|
||||
Date createTime3 = onlAuthData.getCreateTime();
|
||||
if (createTime2 != null ? !createTime2.equals(createTime3) : createTime3 != null) {
|
||||
return false;
|
||||
}
|
||||
String createBy2 = getCreateBy();
|
||||
String createBy3 = onlAuthData.getCreateBy();
|
||||
if (createBy2 != null ? !createBy2.equals(createBy3) : createBy3 != null) {
|
||||
return false;
|
||||
}
|
||||
String updateBy2 = getUpdateBy();
|
||||
String updateBy3 = onlAuthData.getUpdateBy();
|
||||
if (updateBy2 != null ? !updateBy2.equals(updateBy3) : updateBy3 != null) {
|
||||
return false;
|
||||
}
|
||||
Date updateTime2 = getUpdateTime();
|
||||
Date updateTime3 = onlAuthData.getUpdateTime();
|
||||
if (updateTime2 == null) {
|
||||
if (updateTime3 == null) {
|
||||
return true;
|
||||
}
|
||||
} else if (updateTime2.equals(updateTime3)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int i = 43;
|
||||
Integer status2 = getStatus();
|
||||
int hashCode = status2 == null ? 43 : status2.hashCode();
|
||||
String id2 = getId();
|
||||
int i2 = (hashCode + 59) * 59;
|
||||
int hashCode2 = id2 == null ? 43 : id2.hashCode();
|
||||
String cgformId2 = getCgformId();
|
||||
int i3 = (hashCode2 + i2) * 59;
|
||||
int hashCode3 = cgformId2 == null ? 43 : cgformId2.hashCode();
|
||||
String ruleName2 = getRuleName();
|
||||
int i4 = (hashCode3 + i3) * 59;
|
||||
int hashCode4 = ruleName2 == null ? 43 : ruleName2.hashCode();
|
||||
String ruleColumn2 = getRuleColumn();
|
||||
int i5 = (hashCode4 + i4) * 59;
|
||||
int hashCode5 = ruleColumn2 == null ? 43 : ruleColumn2.hashCode();
|
||||
String ruleOperator2 = getRuleOperator();
|
||||
int i6 = (hashCode5 + i5) * 59;
|
||||
int hashCode6 = ruleOperator2 == null ? 43 : ruleOperator2.hashCode();
|
||||
String ruleValue2 = getRuleValue();
|
||||
int i7 = (hashCode6 + i6) * 59;
|
||||
int hashCode7 = ruleValue2 == null ? 43 : ruleValue2.hashCode();
|
||||
Date createTime2 = getCreateTime();
|
||||
int i8 = (hashCode7 + i7) * 59;
|
||||
int hashCode8 = createTime2 == null ? 43 : createTime2.hashCode();
|
||||
String createBy2 = getCreateBy();
|
||||
int i9 = (hashCode8 + i8) * 59;
|
||||
int hashCode9 = createBy2 == null ? 43 : createBy2.hashCode();
|
||||
String updateBy2 = getUpdateBy();
|
||||
int i10 = (hashCode9 + i9) * 59;
|
||||
int hashCode10 = updateBy2 == null ? 43 : updateBy2.hashCode();
|
||||
Date updateTime2 = getUpdateTime();
|
||||
int i11 = (hashCode10 + i10) * 59;
|
||||
if (updateTime2 != null) {
|
||||
i = updateTime2.hashCode();
|
||||
}
|
||||
return i11 + i;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getCgformId() {
|
||||
return this.cgformId;
|
||||
}
|
||||
|
||||
public String getRuleName() {
|
||||
return this.ruleName;
|
||||
}
|
||||
|
||||
public String getRuleColumn() {
|
||||
return this.ruleColumn;
|
||||
}
|
||||
|
||||
public String getRuleOperator() {
|
||||
return this.ruleOperator;
|
||||
}
|
||||
|
||||
public String getRuleValue() {
|
||||
return this.ruleValue;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return this.createBy;
|
||||
}
|
||||
|
||||
public String getUpdateBy() {
|
||||
return this.updateBy;
|
||||
}
|
||||
|
||||
public Date getUpdateTime() {
|
||||
return this.updateTime;
|
||||
}
|
||||
}
|
||||
+295
@@ -0,0 +1,295 @@
|
||||
package com.jero.generater.modules.online.auth.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
@ApiModel(description = "onl_auth_page", value = "onl_auth_page对象")
|
||||
@TableName("onl_auth_page")
|
||||
public class OnlAuthPage implements Serializable {
|
||||
private static final long serialVersionUID = 1;
|
||||
@Excel(name = "online表id", width = 15.0d)
|
||||
@ApiModelProperty("online表id")
|
||||
private String cgformId;
|
||||
@Excel(name = "字段名/按钮编码", width = 15.0d)
|
||||
@ApiModelProperty("字段名/按钮编码")
|
||||
private String code;
|
||||
@Excel(name = "3可编辑 5可见", width = 15.0d)
|
||||
@ApiModelProperty("3可编辑 5可见")
|
||||
private Integer control;
|
||||
@JsonIgnore
|
||||
@ApiModelProperty("创建人")
|
||||
private String createBy;
|
||||
@JsonIgnore
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty("创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(" 主键")
|
||||
private String id;
|
||||
@Excel(name = "3列表 5表单", width = 15.0d)
|
||||
@ApiModelProperty("3列表 5表单")
|
||||
private Integer page;
|
||||
@Excel(name = "1有效 0无效", width = 15.0d)
|
||||
@ApiModelProperty("1有效 0无效")
|
||||
private Integer status;
|
||||
@Excel(name = "1字段 2按钮", width = 15.0d)
|
||||
@ApiModelProperty("1字段 2按钮")
|
||||
private Integer type;
|
||||
@JsonIgnore
|
||||
@ApiModelProperty("更新人")
|
||||
private String updateBy;
|
||||
@JsonIgnore
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty("更新日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date updateTime;
|
||||
|
||||
public OnlAuthPage setCgformId(String cgformId2) {
|
||||
this.cgformId = cgformId2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthPage setCode(String code2) {
|
||||
this.code = code2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthPage setControl(Integer control2) {
|
||||
this.control = control2;
|
||||
return this;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public OnlAuthPage setCreateBy(String createBy2) {
|
||||
this.createBy = createBy2;
|
||||
return this;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
public OnlAuthPage setCreateTime(Date createTime2) {
|
||||
this.createTime = createTime2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthPage setId(String id2) {
|
||||
this.id = id2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthPage setPage(Integer page2) {
|
||||
this.page = page2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthPage setStatus(Integer status2) {
|
||||
this.status = status2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthPage setType(Integer type2) {
|
||||
this.type = type2;
|
||||
return this;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public OnlAuthPage setUpdateBy(String updateBy2) {
|
||||
this.updateBy = updateBy2;
|
||||
return this;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
public OnlAuthPage setUpdateTime(Date updateTime2) {
|
||||
this.updateTime = updateTime2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "OnlAuthPage(id=" + getId() + ", cgformId=" + getCgformId() + ", code=" + getCode() + ", type=" + getType() + ", control=" + getControl() + ", page=" + getPage() + ", status=" + getStatus() + ", createTime=" + getCreateTime() + ", createBy=" + getCreateBy() + ", updateBy=" + getUpdateBy() + ", updateTime=" + getUpdateTime() + ")";
|
||||
}
|
||||
|
||||
/* access modifiers changed from: protected */
|
||||
public boolean canEqual(Object other) {
|
||||
return other instanceof OnlAuthPage;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof OnlAuthPage)) {
|
||||
return false;
|
||||
}
|
||||
OnlAuthPage onlAuthPage = (OnlAuthPage) o;
|
||||
if (!onlAuthPage.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
Integer type2 = getType();
|
||||
Integer type3 = onlAuthPage.getType();
|
||||
if (type2 != null ? !type2.equals(type3) : type3 != null) {
|
||||
return false;
|
||||
}
|
||||
Integer control2 = getControl();
|
||||
Integer control3 = onlAuthPage.getControl();
|
||||
if (control2 != null ? !control2.equals(control3) : control3 != null) {
|
||||
return false;
|
||||
}
|
||||
Integer page2 = getPage();
|
||||
Integer page3 = onlAuthPage.getPage();
|
||||
if (page2 != null ? !page2.equals(page3) : page3 != null) {
|
||||
return false;
|
||||
}
|
||||
Integer status2 = getStatus();
|
||||
Integer status3 = onlAuthPage.getStatus();
|
||||
if (status2 != null ? !status2.equals(status3) : status3 != null) {
|
||||
return false;
|
||||
}
|
||||
String id2 = getId();
|
||||
String id3 = onlAuthPage.getId();
|
||||
if (id2 != null ? !id2.equals(id3) : id3 != null) {
|
||||
return false;
|
||||
}
|
||||
String cgformId2 = getCgformId();
|
||||
String cgformId3 = onlAuthPage.getCgformId();
|
||||
if (cgformId2 != null ? !cgformId2.equals(cgformId3) : cgformId3 != null) {
|
||||
return false;
|
||||
}
|
||||
String code2 = getCode();
|
||||
String code3 = onlAuthPage.getCode();
|
||||
if (code2 != null ? !code2.equals(code3) : code3 != null) {
|
||||
return false;
|
||||
}
|
||||
Date createTime2 = getCreateTime();
|
||||
Date createTime3 = onlAuthPage.getCreateTime();
|
||||
if (createTime2 != null ? !createTime2.equals(createTime3) : createTime3 != null) {
|
||||
return false;
|
||||
}
|
||||
String createBy2 = getCreateBy();
|
||||
String createBy3 = onlAuthPage.getCreateBy();
|
||||
if (createBy2 != null ? !createBy2.equals(createBy3) : createBy3 != null) {
|
||||
return false;
|
||||
}
|
||||
String updateBy2 = getUpdateBy();
|
||||
String updateBy3 = onlAuthPage.getUpdateBy();
|
||||
if (updateBy2 != null ? !updateBy2.equals(updateBy3) : updateBy3 != null) {
|
||||
return false;
|
||||
}
|
||||
Date updateTime2 = getUpdateTime();
|
||||
Date updateTime3 = onlAuthPage.getUpdateTime();
|
||||
if (updateTime2 == null) {
|
||||
if (updateTime3 == null) {
|
||||
return true;
|
||||
}
|
||||
} else if (updateTime2.equals(updateTime3)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int i = 43;
|
||||
Integer type2 = getType();
|
||||
int hashCode = type2 == null ? 43 : type2.hashCode();
|
||||
Integer control2 = getControl();
|
||||
int i2 = (hashCode + 59) * 59;
|
||||
int hashCode2 = control2 == null ? 43 : control2.hashCode();
|
||||
Integer page2 = getPage();
|
||||
int i3 = (hashCode2 + i2) * 59;
|
||||
int hashCode3 = page2 == null ? 43 : page2.hashCode();
|
||||
Integer status2 = getStatus();
|
||||
int i4 = (hashCode3 + i3) * 59;
|
||||
int hashCode4 = status2 == null ? 43 : status2.hashCode();
|
||||
String id2 = getId();
|
||||
int i5 = (hashCode4 + i4) * 59;
|
||||
int hashCode5 = id2 == null ? 43 : id2.hashCode();
|
||||
String cgformId2 = getCgformId();
|
||||
int i6 = (hashCode5 + i5) * 59;
|
||||
int hashCode6 = cgformId2 == null ? 43 : cgformId2.hashCode();
|
||||
String code2 = getCode();
|
||||
int i7 = (hashCode6 + i6) * 59;
|
||||
int hashCode7 = code2 == null ? 43 : code2.hashCode();
|
||||
Date createTime2 = getCreateTime();
|
||||
int i8 = (hashCode7 + i7) * 59;
|
||||
int hashCode8 = createTime2 == null ? 43 : createTime2.hashCode();
|
||||
String createBy2 = getCreateBy();
|
||||
int i9 = (hashCode8 + i8) * 59;
|
||||
int hashCode9 = createBy2 == null ? 43 : createBy2.hashCode();
|
||||
String updateBy2 = getUpdateBy();
|
||||
int i10 = (hashCode9 + i9) * 59;
|
||||
int hashCode10 = updateBy2 == null ? 43 : updateBy2.hashCode();
|
||||
Date updateTime2 = getUpdateTime();
|
||||
int i11 = (hashCode10 + i10) * 59;
|
||||
if (updateTime2 != null) {
|
||||
i = updateTime2.hashCode();
|
||||
}
|
||||
return i11 + i;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getCgformId() {
|
||||
return this.cgformId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public Integer getControl() {
|
||||
return this.control;
|
||||
}
|
||||
|
||||
public Integer getPage() {
|
||||
return this.page;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return this.createBy;
|
||||
}
|
||||
|
||||
public String getUpdateBy() {
|
||||
return this.updateBy;
|
||||
}
|
||||
|
||||
public Date getUpdateTime() {
|
||||
return this.updateTime;
|
||||
}
|
||||
|
||||
public OnlAuthPage() {
|
||||
}
|
||||
|
||||
public OnlAuthPage(String cgformId2, String code2, int page2, int control2) {
|
||||
this.type = 1;
|
||||
this.cgformId = cgformId2;
|
||||
this.code = code2;
|
||||
this.control = Integer.valueOf(control2);
|
||||
this.page = Integer.valueOf(page2);
|
||||
this.status = 1;
|
||||
}
|
||||
}
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
package com.jero.generater.modules.online.auth.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ApiModel(description = "onl_auth_relation", value = "onl_auth_relation对象")
|
||||
@TableName("onl_auth_relation")
|
||||
public class OnlAuthRelation implements Serializable {
|
||||
private static final long serialVersionUID = 1;
|
||||
@Excel(name = "权限id", width = 15.0d)
|
||||
@ApiModelProperty("权限id")
|
||||
private String authId;
|
||||
private String cgformId;
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty("id")
|
||||
private String id;
|
||||
@Excel(name = "角色id", width = 15.0d)
|
||||
@ApiModelProperty("角色id")
|
||||
private String roleId;
|
||||
@Excel(name = "1字段 2按钮 3数据权限", width = 15.0d)
|
||||
@ApiModelProperty("1字段 2按钮 3数据权限")
|
||||
private Integer type;
|
||||
|
||||
public OnlAuthRelation setAuthId(String authId2) {
|
||||
this.authId = authId2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthRelation setCgformId(String cgformId2) {
|
||||
this.cgformId = cgformId2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthRelation setId(String id2) {
|
||||
this.id = id2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthRelation setRoleId(String roleId2) {
|
||||
this.roleId = roleId2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OnlAuthRelation setType(Integer type2) {
|
||||
this.type = type2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "OnlAuthRelation(id=" + getId() + ", roleId=" + getRoleId() + ", authId=" + getAuthId() + ", type=" + getType() + ", cgformId=" + getCgformId() + ")";
|
||||
}
|
||||
|
||||
/* access modifiers changed from: protected */
|
||||
public boolean canEqual(Object other) {
|
||||
return other instanceof OnlAuthRelation;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof OnlAuthRelation)) {
|
||||
return false;
|
||||
}
|
||||
OnlAuthRelation onlAuthRelation = (OnlAuthRelation) o;
|
||||
if (!onlAuthRelation.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
Integer type2 = getType();
|
||||
Integer type3 = onlAuthRelation.getType();
|
||||
if (type2 != null ? !type2.equals(type3) : type3 != null) {
|
||||
return false;
|
||||
}
|
||||
String id2 = getId();
|
||||
String id3 = onlAuthRelation.getId();
|
||||
if (id2 != null ? !id2.equals(id3) : id3 != null) {
|
||||
return false;
|
||||
}
|
||||
String roleId2 = getRoleId();
|
||||
String roleId3 = onlAuthRelation.getRoleId();
|
||||
if (roleId2 != null ? !roleId2.equals(roleId3) : roleId3 != null) {
|
||||
return false;
|
||||
}
|
||||
String authId2 = getAuthId();
|
||||
String authId3 = onlAuthRelation.getAuthId();
|
||||
if (authId2 != null ? !authId2.equals(authId3) : authId3 != null) {
|
||||
return false;
|
||||
}
|
||||
String cgformId2 = getCgformId();
|
||||
String cgformId3 = onlAuthRelation.getCgformId();
|
||||
if (cgformId2 == null) {
|
||||
if (cgformId3 == null) {
|
||||
return true;
|
||||
}
|
||||
} else if (cgformId2.equals(cgformId3)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int i = 43;
|
||||
Integer type2 = getType();
|
||||
int hashCode = type2 == null ? 43 : type2.hashCode();
|
||||
String id2 = getId();
|
||||
int i2 = (hashCode + 59) * 59;
|
||||
int hashCode2 = id2 == null ? 43 : id2.hashCode();
|
||||
String roleId2 = getRoleId();
|
||||
int i3 = (hashCode2 + i2) * 59;
|
||||
int hashCode3 = roleId2 == null ? 43 : roleId2.hashCode();
|
||||
String authId2 = getAuthId();
|
||||
int i4 = (hashCode3 + i3) * 59;
|
||||
int hashCode4 = authId2 == null ? 43 : authId2.hashCode();
|
||||
String cgformId2 = getCgformId();
|
||||
int i5 = (hashCode4 + i4) * 59;
|
||||
if (cgformId2 != null) {
|
||||
i = cgformId2.hashCode();
|
||||
}
|
||||
return i5 + i;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getRoleId() {
|
||||
return this.roleId;
|
||||
}
|
||||
|
||||
public String getAuthId() {
|
||||
return this.authId;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public String getCgformId() {
|
||||
return this.cgformId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user