package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(value = "ProductionCraftProcessRelatedFixture对象", description = "产品工艺工序关联夹具")
|
@TableName("blade_production_craft_process_related_fixture")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/ProductionCraftProcessRelatedFixture.class */
|
public class ProductionCraftProcessRelatedFixture implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty(value = "id", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty(value = "夹具ID", dataType = "java.lang.String")
|
private Long fixtureId;
|
@ApiModelProperty(value = "产品工艺工序ID", dataType = "java.lang.String")
|
private Long versionProcessId;
|
@ApiModelProperty("夹具组")
|
private String fixtureGroupName;
|
@ApiModelProperty("夹具编号")
|
private String fixtureCode;
|
@ApiModelProperty("夹具名称")
|
private String fixtureName;
|
|
public ProductionCraftProcessRelatedFixture setId(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public ProductionCraftProcessRelatedFixture setFixtureId(final Long fixtureId) {
|
this.fixtureId = fixtureId;
|
return this;
|
}
|
|
public ProductionCraftProcessRelatedFixture setVersionProcessId(final Long versionProcessId) {
|
this.versionProcessId = versionProcessId;
|
return this;
|
}
|
|
public ProductionCraftProcessRelatedFixture setFixtureGroupName(final String fixtureGroupName) {
|
this.fixtureGroupName = fixtureGroupName;
|
return this;
|
}
|
|
public ProductionCraftProcessRelatedFixture setFixtureCode(final String fixtureCode) {
|
this.fixtureCode = fixtureCode;
|
return this;
|
}
|
|
public ProductionCraftProcessRelatedFixture setFixtureName(final String fixtureName) {
|
this.fixtureName = fixtureName;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProductionCraftProcessRelatedFixture) {
|
ProductionCraftProcessRelatedFixture other = (ProductionCraftProcessRelatedFixture) 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$fixtureId = getFixtureId();
|
Object other$fixtureId = other.getFixtureId();
|
if (this$fixtureId == null) {
|
if (other$fixtureId != null) {
|
return false;
|
}
|
} else if (!this$fixtureId.equals(other$fixtureId)) {
|
return false;
|
}
|
Object this$versionProcessId = getVersionProcessId();
|
Object other$versionProcessId = other.getVersionProcessId();
|
if (this$versionProcessId == null) {
|
if (other$versionProcessId != null) {
|
return false;
|
}
|
} else if (!this$versionProcessId.equals(other$versionProcessId)) {
|
return false;
|
}
|
Object this$fixtureGroupName = getFixtureGroupName();
|
Object other$fixtureGroupName = other.getFixtureGroupName();
|
if (this$fixtureGroupName == null) {
|
if (other$fixtureGroupName != null) {
|
return false;
|
}
|
} else if (!this$fixtureGroupName.equals(other$fixtureGroupName)) {
|
return false;
|
}
|
Object this$fixtureCode = getFixtureCode();
|
Object other$fixtureCode = other.getFixtureCode();
|
if (this$fixtureCode == null) {
|
if (other$fixtureCode != null) {
|
return false;
|
}
|
} else if (!this$fixtureCode.equals(other$fixtureCode)) {
|
return false;
|
}
|
Object this$fixtureName = getFixtureName();
|
Object other$fixtureName = other.getFixtureName();
|
return this$fixtureName == null ? other$fixtureName == null : this$fixtureName.equals(other$fixtureName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProductionCraftProcessRelatedFixture;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $fixtureId = getFixtureId();
|
int result2 = (result * 59) + ($fixtureId == null ? 43 : $fixtureId.hashCode());
|
Object $versionProcessId = getVersionProcessId();
|
int result3 = (result2 * 59) + ($versionProcessId == null ? 43 : $versionProcessId.hashCode());
|
Object $fixtureGroupName = getFixtureGroupName();
|
int result4 = (result3 * 59) + ($fixtureGroupName == null ? 43 : $fixtureGroupName.hashCode());
|
Object $fixtureCode = getFixtureCode();
|
int result5 = (result4 * 59) + ($fixtureCode == null ? 43 : $fixtureCode.hashCode());
|
Object $fixtureName = getFixtureName();
|
return (result5 * 59) + ($fixtureName == null ? 43 : $fixtureName.hashCode());
|
}
|
|
public String toString() {
|
return "ProductionCraftProcessRelatedFixture(id=" + getId() + ", fixtureId=" + getFixtureId() + ", versionProcessId=" + getVersionProcessId() + ", fixtureGroupName=" + getFixtureGroupName() + ", fixtureCode=" + getFixtureCode() + ", fixtureName=" + getFixtureName() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getFixtureId() {
|
return this.fixtureId;
|
}
|
|
public Long getVersionProcessId() {
|
return this.versionProcessId;
|
}
|
|
public String getFixtureGroupName() {
|
return this.fixtureGroupName;
|
}
|
|
public String getFixtureCode() {
|
return this.fixtureCode;
|
}
|
|
public String getFixtureName() {
|
return this.fixtureName;
|
}
|
}
|