package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
@ApiModel(value = "TrayFixture对象", description = "托盘面-夹具")
|
@TableName("blade_tray_fixture")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/TrayFixture.class */
|
public class TrayFixture extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("托盘id")
|
private Long trayId;
|
@ApiModelProperty("托盘面id")
|
private Long faceId;
|
@ApiModelProperty("夹具id")
|
private Long fixId;
|
|
public TrayFixture setTrayId(final Long trayId) {
|
this.trayId = trayId;
|
return this;
|
}
|
|
public TrayFixture setFaceId(final Long faceId) {
|
this.faceId = faceId;
|
return this;
|
}
|
|
public TrayFixture setFixId(final Long fixId) {
|
this.fixId = fixId;
|
return this;
|
}
|
|
public String toString() {
|
return "TrayFixture(trayId=" + getTrayId() + ", faceId=" + getFaceId() + ", fixId=" + getFixId() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TrayFixture) {
|
TrayFixture other = (TrayFixture) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$trayId = getTrayId();
|
Object other$trayId = other.getTrayId();
|
if (this$trayId == null) {
|
if (other$trayId != null) {
|
return false;
|
}
|
} else if (!this$trayId.equals(other$trayId)) {
|
return false;
|
}
|
Object this$faceId = getFaceId();
|
Object other$faceId = other.getFaceId();
|
if (this$faceId == null) {
|
if (other$faceId != null) {
|
return false;
|
}
|
} else if (!this$faceId.equals(other$faceId)) {
|
return false;
|
}
|
Object this$fixId = getFixId();
|
Object other$fixId = other.getFixId();
|
return this$fixId == null ? other$fixId == null : this$fixId.equals(other$fixId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TrayFixture;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $trayId = getTrayId();
|
int result2 = (result * 59) + ($trayId == null ? 43 : $trayId.hashCode());
|
Object $faceId = getFaceId();
|
int result3 = (result2 * 59) + ($faceId == null ? 43 : $faceId.hashCode());
|
Object $fixId = getFixId();
|
return (result3 * 59) + ($fixId == null ? 43 : $fixId.hashCode());
|
}
|
|
public Long getTrayId() {
|
return this.trayId;
|
}
|
|
public Long getFaceId() {
|
return this.faceId;
|
}
|
|
public Long getFixId() {
|
return this.fixId;
|
}
|
}
|