Commit bf4df0c5 authored by shihuajun's avatar shihuajun

增加字段

parent e14a908d
...@@ -6,7 +6,7 @@ import java.util.Objects; ...@@ -6,7 +6,7 @@ import java.util.Objects;
/** /**
* @author shihuajun * @author shihuajun
* @date 2021/9/7 15:57 * @date 2021/9/12 14:33
* @ describing * @ describing
*/ */
@Entity @Entity
...@@ -23,6 +23,7 @@ public class FundProductEntity { ...@@ -23,6 +23,7 @@ public class FundProductEntity {
private String basicRule; private String basicRule;
private int areaTerm; private int areaTerm;
private int cardLimit; private int cardLimit;
private String telRule;
private String areaRule; private String areaRule;
private String ruleList; private String ruleList;
private Byte enable; private Byte enable;
...@@ -139,6 +140,16 @@ public class FundProductEntity { ...@@ -139,6 +140,16 @@ public class FundProductEntity {
this.cardLimit = cardLimit; this.cardLimit = cardLimit;
} }
@Basic
@Column(name = "tel_rule", nullable = false, length = 500)
public String getTelRule() {
return telRule;
}
public void setTelRule(String telRule) {
this.telRule = telRule;
}
@Basic @Basic
@Column(name = "area_rule", nullable = false, length = 500) @Column(name = "area_rule", nullable = false, length = 500)
public String getAreaRule() { public String getAreaRule() {
...@@ -194,11 +205,11 @@ public class FundProductEntity { ...@@ -194,11 +205,11 @@ public class FundProductEntity {
if (this == o) return true; if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false; if (o == null || getClass() != o.getClass()) return false;
FundProductEntity that = (FundProductEntity) o; FundProductEntity that = (FundProductEntity) o;
return id == that.id && fundId == that.fundId && fundProId == that.fundProId && areaTerm == that.areaTerm && cardLimit == that.cardLimit && Objects.equals(fundName, that.fundName) && Objects.equals(fundType, that.fundType) && Objects.equals(orgType, that.orgType) && Objects.equals(businessType, that.businessType) && Objects.equals(systermType, that.systermType) && Objects.equals(basicRule, that.basicRule) && Objects.equals(areaRule, that.areaRule) && Objects.equals(ruleList, that.ruleList) && Objects.equals(enable, that.enable) && Objects.equals(createdAt, that.createdAt) && Objects.equals(updatedAt, that.updatedAt); return id == that.id && fundId == that.fundId && fundProId == that.fundProId && areaTerm == that.areaTerm && cardLimit == that.cardLimit && Objects.equals(fundName, that.fundName) && Objects.equals(fundType, that.fundType) && Objects.equals(orgType, that.orgType) && Objects.equals(businessType, that.businessType) && Objects.equals(systermType, that.systermType) && Objects.equals(basicRule, that.basicRule) && Objects.equals(telRule, that.telRule) && Objects.equals(areaRule, that.areaRule) && Objects.equals(ruleList, that.ruleList) && Objects.equals(enable, that.enable) && Objects.equals(createdAt, that.createdAt) && Objects.equals(updatedAt, that.updatedAt);
} }
@Override @Override
public int hashCode() { public int hashCode() {
return Objects.hash(id, fundId, fundProId, fundName, fundType, orgType, businessType, systermType, basicRule, areaTerm, cardLimit, areaRule, ruleList, enable, createdAt, updatedAt); return Objects.hash(id, fundId, fundProId, fundName, fundType, orgType, businessType, systermType, basicRule, areaTerm, cardLimit, telRule, areaRule, ruleList, enable, createdAt, updatedAt);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment