package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
|
@ApiModel(value = "产品切换状态VO对象", description = "产品状态")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/ProductChangeStatusVO.class */
|
public class ProductChangeStatusVO {
|
@ApiModelProperty("要切换的id集合")
|
private List<String> ids;
|
@ApiModelProperty("状态: 1为启用 0为禁用")
|
private Integer status;
|
|
public void setIds(final List<String> ids) {
|
this.ids = ids;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProductChangeStatusVO) {
|
ProductChangeStatusVO other = (ProductChangeStatusVO) o;
|
if (other.canEqual(this)) {
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
Object this$ids = getIds();
|
Object other$ids = other.getIds();
|
return this$ids == null ? other$ids == null : this$ids.equals(other$ids);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProductChangeStatusVO;
|
}
|
|
public int hashCode() {
|
Object $status = getStatus();
|
int result = (1 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $ids = getIds();
|
return (result * 59) + ($ids == null ? 43 : $ids.hashCode());
|
}
|
|
public String toString() {
|
return "ProductChangeStatusVO(ids=" + getIds() + ", status=" + getStatus() + ")";
|
}
|
|
public List<String> getIds() {
|
return this.ids;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
}
|