package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import java.io.Serializable;
|
|
@ApiModel(value = "CommonGroupOfItem", description = "CommonGroupOfItem对象")
|
@TableName("blade_common_group_of_item")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/CommonGroupOfItem.class */
|
public class CommonGroupOfItem implements Serializable {
|
private static final long serialVersionUID = 1;
|
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
private Long id;
|
private Long groupId;
|
private Long itemId;
|
private String extendId;
|
private String groupType;
|
private Integer groupCategory;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setGroupId(final Long groupId) {
|
this.groupId = groupId;
|
}
|
|
public void setItemId(final Long itemId) {
|
this.itemId = itemId;
|
}
|
|
public void setExtendId(final String extendId) {
|
this.extendId = extendId;
|
}
|
|
public void setGroupType(final String groupType) {
|
this.groupType = groupType;
|
}
|
|
public void setGroupCategory(final Integer groupCategory) {
|
this.groupCategory = groupCategory;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CommonGroupOfItem) {
|
CommonGroupOfItem other = (CommonGroupOfItem) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$groupId = getGroupId();
|
Object other$groupId = other.getGroupId();
|
if (this$groupId == null) {
|
if (other$groupId != null) {
|
return false;
|
}
|
} else if (!this$groupId.equals(other$groupId)) {
|
return false;
|
}
|
Object this$itemId = getItemId();
|
Object other$itemId = other.getItemId();
|
if (this$itemId == null) {
|
if (other$itemId != null) {
|
return false;
|
}
|
} else if (!this$itemId.equals(other$itemId)) {
|
return false;
|
}
|
Object this$groupCategory = getGroupCategory();
|
Object other$groupCategory = other.getGroupCategory();
|
if (this$groupCategory == null) {
|
if (other$groupCategory != null) {
|
return false;
|
}
|
} else if (!this$groupCategory.equals(other$groupCategory)) {
|
return false;
|
}
|
Object this$extendId = getExtendId();
|
Object other$extendId = other.getExtendId();
|
if (this$extendId == null) {
|
if (other$extendId != null) {
|
return false;
|
}
|
} else if (!this$extendId.equals(other$extendId)) {
|
return false;
|
}
|
Object this$groupType = getGroupType();
|
Object other$groupType = other.getGroupType();
|
return this$groupType == null ? other$groupType == null : this$groupType.equals(other$groupType);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CommonGroupOfItem;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $groupId = getGroupId();
|
int result2 = (result * 59) + ($groupId == null ? 43 : $groupId.hashCode());
|
Object $itemId = getItemId();
|
int result3 = (result2 * 59) + ($itemId == null ? 43 : $itemId.hashCode());
|
Object $groupCategory = getGroupCategory();
|
int result4 = (result3 * 59) + ($groupCategory == null ? 43 : $groupCategory.hashCode());
|
Object $extendId = getExtendId();
|
int result5 = (result4 * 59) + ($extendId == null ? 43 : $extendId.hashCode());
|
Object $groupType = getGroupType();
|
return (result5 * 59) + ($groupType == null ? 43 : $groupType.hashCode());
|
}
|
|
public String toString() {
|
return "CommonGroupOfItem(id=" + getId() + ", groupId=" + getGroupId() + ", itemId=" + getItemId() + ", extendId=" + getExtendId() + ", groupType=" + getGroupType() + ", groupCategory=" + getGroupCategory() + ")";
|
}
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/CommonGroupOfItem$CommonGroupOfItemBuilder.class */
|
public static class CommonGroupOfItemBuilder {
|
private Long id;
|
private Long groupId;
|
private Long itemId;
|
private String extendId;
|
private String groupType;
|
private Integer groupCategory;
|
|
CommonGroupOfItemBuilder() {
|
}
|
|
public CommonGroupOfItemBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public CommonGroupOfItemBuilder groupId(final Long groupId) {
|
this.groupId = groupId;
|
return this;
|
}
|
|
public CommonGroupOfItemBuilder itemId(final Long itemId) {
|
this.itemId = itemId;
|
return this;
|
}
|
|
public CommonGroupOfItemBuilder extendId(final String extendId) {
|
this.extendId = extendId;
|
return this;
|
}
|
|
public CommonGroupOfItemBuilder groupType(final String groupType) {
|
this.groupType = groupType;
|
return this;
|
}
|
|
public CommonGroupOfItemBuilder groupCategory(final Integer groupCategory) {
|
this.groupCategory = groupCategory;
|
return this;
|
}
|
|
public CommonGroupOfItem build() {
|
return new CommonGroupOfItem(this.id, this.groupId, this.itemId, this.extendId, this.groupType, this.groupCategory);
|
}
|
|
public String toString() {
|
return "CommonGroupOfItem.CommonGroupOfItemBuilder(id=" + this.id + ", groupId=" + this.groupId + ", itemId=" + this.itemId + ", extendId=" + this.extendId + ", groupType=" + this.groupType + ", groupCategory=" + this.groupCategory + ")";
|
}
|
}
|
|
public static CommonGroupOfItemBuilder builder() {
|
return new CommonGroupOfItemBuilder();
|
}
|
|
public CommonGroupOfItem() {
|
}
|
|
public CommonGroupOfItem(final Long id, final Long groupId, final Long itemId, final String extendId, final String groupType, final Integer groupCategory) {
|
this.id = id;
|
this.groupId = groupId;
|
this.itemId = itemId;
|
this.extendId = extendId;
|
this.groupType = groupType;
|
this.groupCategory = groupCategory;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getGroupId() {
|
return this.groupId;
|
}
|
|
public Long getItemId() {
|
return this.itemId;
|
}
|
|
public String getExtendId() {
|
return this.extendId;
|
}
|
|
public String getGroupType() {
|
return this.groupType;
|
}
|
|
public Integer getGroupCategory() {
|
return this.groupCategory;
|
}
|
|
public CommonGroupOfItem(Long groupId, Long itemId, String groupType, Integer groupCategory) {
|
this.groupId = groupId;
|
this.itemId = itemId;
|
this.groupType = groupType;
|
this.groupCategory = groupCategory;
|
}
|
|
public CommonGroupOfItem(Long groupId, Long itemId, String extendId, String groupType, Integer groupCategory) {
|
this.groupId = groupId;
|
this.itemId = itemId;
|
this.extendId = extendId;
|
this.groupType = groupType;
|
this.groupCategory = groupCategory;
|
}
|
}
|