package com.xunmeng.pinduoduo.sku;
/* compiled from: Pdd */
/* loaded from: classes5.dex */
public class SkuItem {
public static final int ALL_DISABLE = 3;
public static final int DISABLE = 2;
public static final int HIGHLIGHTED = 1;
public static final int NORMAL = 0;
public long afterDiscountPrice;
public String desc;
public String displayDesc;
public String groupUnitPrice;
public boolean isAfterDisCountPriceShow;
public boolean isHotItem;
public String key;
public String matchSkuText;
public int realPos;
public String singleUnitPrice;
public long skuPrice;
public int status;
public SkuItem() {
if (com.xunmeng.manwe.o.c(136813, this)) {
return;
}
this.isHotItem = false;
}
public SkuItem(String str) {
if (com.xunmeng.manwe.o.f(136814, this, str)) {
return;
}
this.isHotItem = false;
this.desc = str;
}
public boolean equals(Object obj) {
if (com.xunmeng.manwe.o.o(136815, this, obj)) {
return com.xunmeng.manwe.o.u();
}
if (this == obj) {
return true;
}
if (!(obj instanceof SkuItem)) {
return false;
}
SkuItem skuItem = (SkuItem) obj;
String str = this.key;
if (str == null ? skuItem.key != null : !com.xunmeng.pinduoduo.d.k.R(str, skuItem.key)) {
return false;
}
String str2 = this.desc;
String str3 = skuItem.desc;
if (str2 != null) {
return com.xunmeng.pinduoduo.d.k.R(str2, str3);
}
if (str3 == null) {
return true;
}
return false;
}
public int hashCode() {
int i;
if (com.xunmeng.manwe.o.l(136816, this)) {
return com.xunmeng.manwe.o.t();
}
String str = this.key;
int i2 = 0;
if (str != null) {
i = com.xunmeng.pinduoduo.d.k.i(str);
} else {
i = 0;
}
int i3 = i * 31;
String str2 = this.desc;
if (str2 != null) {
i2 = com.xunmeng.pinduoduo.d.k.i(str2);
}
return i3 + i2;
}
public boolean isHotItem() {
if (com.xunmeng.manwe.o.l(136818, this)) {
return com.xunmeng.manwe.o.u();
}
return this.isHotItem;
}
public void setHotItem(boolean z) {
if (com.xunmeng.manwe.o.e(136817, this, z)) {
return;
}
this.isHotItem = z;
}
}