package com.qianwen.smartman.modules.cps.vo;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/MdcWorkStationGroupVO.class */
|
public class MdcWorkStationGroupVO implements Serializable {
|
private static final long serialVersionUID = 586844474639515146L;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty(value = "工位组id", dataType = "java.lang.String")
|
private Long groupId;
|
@ApiModelProperty(value = "是否默认选中", dataType = "")
|
private Boolean isDefault;
|
@ApiModelProperty(value = "工位组名称", dataType = "java.lang.String")
|
private String groupName;
|
@ApiModelProperty(value = "工位组编号", dataType = "java.lang.String")
|
private String groupCode;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/MdcWorkStationGroupVO$MdcWorkStationGroupVOBuilder.class */
|
public static class MdcWorkStationGroupVOBuilder {
|
private Long groupId;
|
private Boolean isDefault;
|
private String groupName;
|
private String groupCode;
|
|
MdcWorkStationGroupVOBuilder() {
|
}
|
|
public MdcWorkStationGroupVOBuilder groupId(final Long groupId) {
|
this.groupId = groupId;
|
return this;
|
}
|
|
public MdcWorkStationGroupVOBuilder isDefault(final Boolean isDefault) {
|
this.isDefault = isDefault;
|
return this;
|
}
|
|
public MdcWorkStationGroupVOBuilder groupName(final String groupName) {
|
this.groupName = groupName;
|
return this;
|
}
|
|
public MdcWorkStationGroupVOBuilder groupCode(final String groupCode) {
|
this.groupCode = groupCode;
|
return this;
|
}
|
|
public MdcWorkStationGroupVO build() {
|
return new MdcWorkStationGroupVO(this.groupId, this.isDefault, this.groupName, this.groupCode);
|
}
|
|
public String toString() {
|
return "MdcWorkStationGroupVO.MdcWorkStationGroupVOBuilder(groupId=" + this.groupId + ", isDefault=" + this.isDefault + ", groupName=" + this.groupName + ", groupCode=" + this.groupCode + ")";
|
}
|
}
|
|
public void setGroupId(final Long groupId) {
|
this.groupId = groupId;
|
}
|
|
public void setIsDefault(final Boolean isDefault) {
|
this.isDefault = isDefault;
|
}
|
|
public void setGroupName(final String groupName) {
|
this.groupName = groupName;
|
}
|
|
public void setGroupCode(final String groupCode) {
|
this.groupCode = groupCode;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MdcWorkStationGroupVO) {
|
MdcWorkStationGroupVO other = (MdcWorkStationGroupVO) o;
|
if (other.canEqual(this)) {
|
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$isDefault = getIsDefault();
|
Object other$isDefault = other.getIsDefault();
|
if (this$isDefault == null) {
|
if (other$isDefault != null) {
|
return false;
|
}
|
} else if (!this$isDefault.equals(other$isDefault)) {
|
return false;
|
}
|
Object this$groupName = getGroupName();
|
Object other$groupName = other.getGroupName();
|
if (this$groupName == null) {
|
if (other$groupName != null) {
|
return false;
|
}
|
} else if (!this$groupName.equals(other$groupName)) {
|
return false;
|
}
|
Object this$groupCode = getGroupCode();
|
Object other$groupCode = other.getGroupCode();
|
return this$groupCode == null ? other$groupCode == null : this$groupCode.equals(other$groupCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MdcWorkStationGroupVO;
|
}
|
|
public int hashCode() {
|
Object $groupId = getGroupId();
|
int result = (1 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
|
Object $isDefault = getIsDefault();
|
int result2 = (result * 59) + ($isDefault == null ? 43 : $isDefault.hashCode());
|
Object $groupName = getGroupName();
|
int result3 = (result2 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
|
Object $groupCode = getGroupCode();
|
return (result3 * 59) + ($groupCode == null ? 43 : $groupCode.hashCode());
|
}
|
|
public String toString() {
|
return "MdcWorkStationGroupVO(groupId=" + getGroupId() + ", isDefault=" + getIsDefault() + ", groupName=" + getGroupName() + ", groupCode=" + getGroupCode() + ")";
|
}
|
|
public static MdcWorkStationGroupVOBuilder builder() {
|
return new MdcWorkStationGroupVOBuilder();
|
}
|
|
public MdcWorkStationGroupVO(final Long groupId, final Boolean isDefault, final String groupName, final String groupCode) {
|
this.groupId = groupId;
|
this.isDefault = isDefault;
|
this.groupName = groupName;
|
this.groupCode = groupCode;
|
}
|
|
public MdcWorkStationGroupVO() {
|
}
|
|
public Long getGroupId() {
|
return this.groupId;
|
}
|
|
public Boolean getIsDefault() {
|
return this.isDefault;
|
}
|
|
public String getGroupName() {
|
return this.groupName;
|
}
|
|
public String getGroupCode() {
|
return this.groupCode;
|
}
|
}
|