package com.qianwen.smartman.modules.system.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
import java.util.List;
|
import java.util.Map;
|
import com.qianwen.smartman.common.constant.DateConstant;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/LicenseDetailVO.class */
|
public class LicenseDetailVO {
|
@ApiModelProperty("授予公司")
|
private String account;
|
@ApiModelProperty("授予类型")
|
private String type;
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE)
|
@ApiModelProperty("授予过期时间")
|
private Date expireDate;
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE)
|
@ApiModelProperty("授予时间")
|
private Date applyDate;
|
@ApiModelProperty("授予模块")
|
private Map<String, List<String>> moduleNames;
|
|
public void setAccount(final String account) {
|
this.account = account;
|
}
|
|
public void setType(final String type) {
|
this.type = type;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE)
|
public void setExpireDate(final Date expireDate) {
|
this.expireDate = expireDate;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE)
|
public void setApplyDate(final Date applyDate) {
|
this.applyDate = applyDate;
|
}
|
|
public void setModuleNames(final Map<String, List<String>> moduleNames) {
|
this.moduleNames = moduleNames;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof LicenseDetailVO) {
|
LicenseDetailVO other = (LicenseDetailVO) 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$moduleNames = getModuleNames();
|
Object other$moduleNames = other.getModuleNames();
|
return this$moduleNames == null ? other$moduleNames == null : this$moduleNames.equals(other$moduleNames);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof LicenseDetailVO;
|
}
|
|
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 $moduleNames = getModuleNames();
|
return (result4 * 59) + ($moduleNames == null ? 43 : $moduleNames.hashCode());
|
}
|
|
public String toString() {
|
return "LicenseDetailVO(account=" + getAccount() + ", type=" + getType() + ", expireDate=" + getExpireDate() + ", applyDate=" + getApplyDate() + ", moduleNames=" + getModuleNames() + ")";
|
}
|
|
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 Map<String, List<String>> getModuleNames() {
|
return this.moduleNames;
|
}
|
}
|