//
|
// Source code recreated from a .class file by IntelliJ IDEA
|
// (powered by FernFlower decompiler)
|
//
|
|
package com.flow.pojo;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
@TableName("mail")
|
public class Mail {
|
private Integer id;
|
private String mailingaddress;
|
private String contacts;
|
private String phone;
|
private String company;
|
|
public Mail(Integer id, String mailingaddress, String contacts, String phone, String company) {
|
this.id = id;
|
this.mailingaddress = mailingaddress;
|
this.contacts = contacts;
|
this.phone = phone;
|
this.company = company;
|
}
|
|
public Mail() {
|
}
|
|
public boolean equals(Object o) {
|
if (o == this) {
|
return true;
|
} else if (!(o instanceof Mail)) {
|
return false;
|
} else {
|
Mail other = (Mail)o;
|
if (!other.canEqual(this)) {
|
return false;
|
} else {
|
label71: {
|
Object this$id = this.getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id == null) {
|
break label71;
|
}
|
} else if (this$id.equals(other$id)) {
|
break label71;
|
}
|
|
return false;
|
}
|
|
Object this$mailingaddress = this.getMailingaddress();
|
Object other$mailingaddress = other.getMailingaddress();
|
if (this$mailingaddress == null) {
|
if (other$mailingaddress != null) {
|
return false;
|
}
|
} else if (!this$mailingaddress.equals(other$mailingaddress)) {
|
return false;
|
}
|
|
label57: {
|
Object this$contacts = this.getContacts();
|
Object other$contacts = other.getContacts();
|
if (this$contacts == null) {
|
if (other$contacts == null) {
|
break label57;
|
}
|
} else if (this$contacts.equals(other$contacts)) {
|
break label57;
|
}
|
|
return false;
|
}
|
|
Object this$phone = this.getPhone();
|
Object other$phone = other.getPhone();
|
if (this$phone == null) {
|
if (other$phone != null) {
|
return false;
|
}
|
} else if (!this$phone.equals(other$phone)) {
|
return false;
|
}
|
|
Object this$company = this.getCompany();
|
Object other$company = other.getCompany();
|
if (this$company == null) {
|
if (other$company == null) {
|
return true;
|
}
|
} else if (this$company.equals(other$company)) {
|
return true;
|
}
|
|
return false;
|
}
|
}
|
}
|
|
protected boolean canEqual(Object other) {
|
return other instanceof Mail;
|
}
|
|
public int hashCode() {
|
|
int result = 1;
|
Object $id = this.getId();
|
result = result * 59 + ($id == null ? 43 : $id.hashCode());
|
Object $mailingaddress = this.getMailingaddress();
|
result = result * 59 + ($mailingaddress == null ? 43 : $mailingaddress.hashCode());
|
Object $contacts = this.getContacts();
|
result = result * 59 + ($contacts == null ? 43 : $contacts.hashCode());
|
Object $phone = this.getPhone();
|
result = result * 59 + ($phone == null ? 43 : $phone.hashCode());
|
Object $company = this.getCompany();
|
result = result * 59 + ($company == null ? 43 : $company.hashCode());
|
return result;
|
}
|
|
public String toString() {
|
return "Mail(id=" + this.getId() + ", mailingaddress=" + this.getMailingaddress() + ", contacts=" + this.getContacts() + ", phone=" + this.getPhone() + ", company=" + this.getCompany() + ")";
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public void setMailingaddress(String mailingaddress) {
|
this.mailingaddress = mailingaddress;
|
}
|
|
public void setContacts(String contacts) {
|
this.contacts = contacts;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
public void setCompany(String company) {
|
this.company = company;
|
}
|
|
public Integer getId() {
|
return this.id;
|
}
|
|
public String getMailingaddress() {
|
return this.mailingaddress;
|
}
|
|
public String getContacts() {
|
return this.contacts;
|
}
|
|
public String getPhone() {
|
return this.phone;
|
}
|
|
public String getCompany() {
|
return this.company;
|
}
|
}
|