package com.qianwen.smartman.modules.system.dto;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/dto/LicenseDetailDTO.class */
|
public class LicenseDetailDTO {
|
private String account;
|
private String type;
|
private Date expireDate;
|
private Date applyDate;
|
private String mac;
|
private List<Integer> modules;
|
|
public void setAccount(final String account) {
|
this.account = account;
|
}
|
|
public void setType(final String type) {
|
this.type = type;
|
}
|
|
public void setExpireDate(final Date expireDate) {
|
this.expireDate = expireDate;
|
}
|
|
public void setApplyDate(final Date applyDate) {
|
this.applyDate = applyDate;
|
}
|
|
public void setMac(final String mac) {
|
this.mac = mac;
|
}
|
|
public void setModules(final List<Integer> modules) {
|
this.modules = modules;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof LicenseDetailDTO) {
|
LicenseDetailDTO other = (LicenseDetailDTO) o;
|
if (other.canEqual(this)) {
|
Object this$account = getAccount();
|
Object other$account = other.getAccount();
|
if (this$account == null) {
|
if (other$account != null) {
|
return false;
|
}
|
} else if (!this$account.equals(other$account)) {
|
return false;
|
}
|
Object this$type = getType();
|
Object other$type = other.getType();
|
if (this$type == null) {
|
if (other$type != null) {
|
return false;
|
}
|
} else if (!this$type.equals(other$type)) {
|
return false;
|
}
|
Object this$expireDate = getExpireDate();
|
Object other$expireDate = other.getExpireDate();
|
if (this$expireDate == null) {
|
if (other$expireDate != null) {
|
return false;
|
}
|
} else if (!this$expireDate.equals(other$expireDate)) {
|
return false;
|
}
|
Object this$applyDate = getApplyDate();
|
Object other$applyDate = other.getApplyDate();
|
if (this$applyDate == null) {
|
if (other$applyDate != null) {
|
return false;
|
}
|
} else if (!this$applyDate.equals(other$applyDate)) {
|
return false;
|
}
|
Object this$mac = getMac();
|
Object other$mac = other.getMac();
|
if (this$mac == null) {
|
if (other$mac != null) {
|
return false;
|
}
|
} else if (!this$mac.equals(other$mac)) {
|
return false;
|
}
|
Object this$modules = getModules();
|
Object other$modules = other.getModules();
|
return this$modules == null ? other$modules == null : this$modules.equals(other$modules);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof LicenseDetailDTO;
|
}
|
|
public int hashCode() {
|
Object $account = getAccount();
|
int result = (1 * 59) + ($account == null ? 43 : $account.hashCode());
|
Object $type = getType();
|
int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $expireDate = getExpireDate();
|
int result3 = (result2 * 59) + ($expireDate == null ? 43 : $expireDate.hashCode());
|
Object $applyDate = getApplyDate();
|
int result4 = (result3 * 59) + ($applyDate == null ? 43 : $applyDate.hashCode());
|
Object $mac = getMac();
|
int result5 = (result4 * 59) + ($mac == null ? 43 : $mac.hashCode());
|
Object $modules = getModules();
|
return (result5 * 59) + ($modules == null ? 43 : $modules.hashCode());
|
}
|
|
public String toString() {
|
return "LicenseDetailDTO(account=" + getAccount() + ", type=" + getType() + ", expireDate=" + getExpireDate() + ", applyDate=" + getApplyDate() + ", mac=" + getMac() + ", modules=" + getModules() + ")";
|
}
|
|
public String getAccount() {
|
return this.account;
|
}
|
|
public String getType() {
|
return this.type;
|
}
|
|
public Date getExpireDate() {
|
return this.expireDate;
|
}
|
|
public Date getApplyDate() {
|
return this.applyDate;
|
}
|
|
public String getMac() {
|
return this.mac;
|
}
|
|
public List<Integer> getModules() {
|
return this.modules;
|
}
|
}
|