package com.qianwen.smartman.modules.fms.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
@ApiModel(value = "FmsWorkStationRecord对象", description = "工单开报工记录")
|
@TableName("blade_fms_work_station_record")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/fms/entity/FmsWorkStationRecord.class */
|
public class FmsWorkStationRecord extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("工单ID")
|
private Long orderId;
|
@ApiModelProperty("工单工序ID")
|
private Long orderProcessId;
|
@ApiModelProperty("开工工位ID")
|
private Long workStationId;
|
@ApiModelProperty("工位名称")
|
private String workStationName;
|
@ApiModelProperty("开工时间")
|
private Date startTime;
|
@ApiModelProperty("结束时间")
|
private Date endTime;
|
@ApiModelProperty("报工合格数量")
|
private Integer qualifyNum;
|
@ApiModelProperty("报工不合格数量")
|
private Integer unqualifyNum;
|
@ApiModelProperty("报工工时")
|
private Integer workTime;
|
@ApiModelProperty("托盘号")
|
private String trayCode;
|
@ApiModelProperty("零件号")
|
private String partCode;
|
@ApiModelProperty("备注")
|
private String remark;
|
|
public FmsWorkStationRecord setOrderId(final Long orderId) {
|
this.orderId = orderId;
|
return this;
|
}
|
|
public FmsWorkStationRecord setOrderProcessId(final Long orderProcessId) {
|
this.orderProcessId = orderProcessId;
|
return this;
|
}
|
|
public FmsWorkStationRecord setWorkStationId(final Long workStationId) {
|
this.workStationId = workStationId;
|
return this;
|
}
|
|
public FmsWorkStationRecord setWorkStationName(final String workStationName) {
|
this.workStationName = workStationName;
|
return this;
|
}
|
|
public FmsWorkStationRecord setStartTime(final Date startTime) {
|
this.startTime = startTime;
|
return this;
|
}
|
|
public FmsWorkStationRecord setEndTime(final Date endTime) {
|
this.endTime = endTime;
|
return this;
|
}
|
|
public FmsWorkStationRecord setQualifyNum(final Integer qualifyNum) {
|
this.qualifyNum = qualifyNum;
|
return this;
|
}
|
|
public FmsWorkStationRecord setUnqualifyNum(final Integer unqualifyNum) {
|
this.unqualifyNum = unqualifyNum;
|
return this;
|
}
|
|
public FmsWorkStationRecord setWorkTime(final Integer workTime) {
|
this.workTime = workTime;
|
return this;
|
}
|
|
public FmsWorkStationRecord setTrayCode(final String trayCode) {
|
this.trayCode = trayCode;
|
return this;
|
}
|
|
public FmsWorkStationRecord setPartCode(final String partCode) {
|
this.partCode = partCode;
|
return this;
|
}
|
|
public FmsWorkStationRecord setRemark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public String toString() {
|
return "FmsWorkStationRecord(orderId=" + getOrderId() + ", orderProcessId=" + getOrderProcessId() + ", workStationId=" + getWorkStationId() + ", workStationName=" + getWorkStationName() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", qualifyNum=" + getQualifyNum() + ", unqualifyNum=" + getUnqualifyNum() + ", workTime=" + getWorkTime() + ", trayCode=" + getTrayCode() + ", partCode=" + getPartCode() + ", remark=" + getRemark() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FmsWorkStationRecord) {
|
FmsWorkStationRecord other = (FmsWorkStationRecord) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$orderId = getOrderId();
|
Object other$orderId = other.getOrderId();
|
if (this$orderId == null) {
|
if (other$orderId != null) {
|
return false;
|
}
|
} else if (!this$orderId.equals(other$orderId)) {
|
return false;
|
}
|
Object this$orderProcessId = getOrderProcessId();
|
Object other$orderProcessId = other.getOrderProcessId();
|
if (this$orderProcessId == null) {
|
if (other$orderProcessId != null) {
|
return false;
|
}
|
} else if (!this$orderProcessId.equals(other$orderProcessId)) {
|
return false;
|
}
|
Object this$workStationId = getWorkStationId();
|
Object other$workStationId = other.getWorkStationId();
|
if (this$workStationId == null) {
|
if (other$workStationId != null) {
|
return false;
|
}
|
} else if (!this$workStationId.equals(other$workStationId)) {
|
return false;
|
}
|
Object this$qualifyNum = getQualifyNum();
|
Object other$qualifyNum = other.getQualifyNum();
|
if (this$qualifyNum == null) {
|
if (other$qualifyNum != null) {
|
return false;
|
}
|
} else if (!this$qualifyNum.equals(other$qualifyNum)) {
|
return false;
|
}
|
Object this$unqualifyNum = getUnqualifyNum();
|
Object other$unqualifyNum = other.getUnqualifyNum();
|
if (this$unqualifyNum == null) {
|
if (other$unqualifyNum != null) {
|
return false;
|
}
|
} else if (!this$unqualifyNum.equals(other$unqualifyNum)) {
|
return false;
|
}
|
Object this$workTime = getWorkTime();
|
Object other$workTime = other.getWorkTime();
|
if (this$workTime == null) {
|
if (other$workTime != null) {
|
return false;
|
}
|
} else if (!this$workTime.equals(other$workTime)) {
|
return false;
|
}
|
Object this$workStationName = getWorkStationName();
|
Object other$workStationName = other.getWorkStationName();
|
if (this$workStationName == null) {
|
if (other$workStationName != null) {
|
return false;
|
}
|
} else if (!this$workStationName.equals(other$workStationName)) {
|
return false;
|
}
|
Object this$startTime = getStartTime();
|
Object other$startTime = other.getStartTime();
|
if (this$startTime == null) {
|
if (other$startTime != null) {
|
return false;
|
}
|
} else if (!this$startTime.equals(other$startTime)) {
|
return false;
|
}
|
Object this$endTime = getEndTime();
|
Object other$endTime = other.getEndTime();
|
if (this$endTime == null) {
|
if (other$endTime != null) {
|
return false;
|
}
|
} else if (!this$endTime.equals(other$endTime)) {
|
return false;
|
}
|
Object this$trayCode = getTrayCode();
|
Object other$trayCode = other.getTrayCode();
|
if (this$trayCode == null) {
|
if (other$trayCode != null) {
|
return false;
|
}
|
} else if (!this$trayCode.equals(other$trayCode)) {
|
return false;
|
}
|
Object this$partCode = getPartCode();
|
Object other$partCode = other.getPartCode();
|
if (this$partCode == null) {
|
if (other$partCode != null) {
|
return false;
|
}
|
} else if (!this$partCode.equals(other$partCode)) {
|
return false;
|
}
|
Object this$remark = getRemark();
|
Object other$remark = other.getRemark();
|
return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof FmsWorkStationRecord;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $orderId = getOrderId();
|
int result2 = (result * 59) + ($orderId == null ? 43 : $orderId.hashCode());
|
Object $orderProcessId = getOrderProcessId();
|
int result3 = (result2 * 59) + ($orderProcessId == null ? 43 : $orderProcessId.hashCode());
|
Object $workStationId = getWorkStationId();
|
int result4 = (result3 * 59) + ($workStationId == null ? 43 : $workStationId.hashCode());
|
Object $qualifyNum = getQualifyNum();
|
int result5 = (result4 * 59) + ($qualifyNum == null ? 43 : $qualifyNum.hashCode());
|
Object $unqualifyNum = getUnqualifyNum();
|
int result6 = (result5 * 59) + ($unqualifyNum == null ? 43 : $unqualifyNum.hashCode());
|
Object $workTime = getWorkTime();
|
int result7 = (result6 * 59) + ($workTime == null ? 43 : $workTime.hashCode());
|
Object $workStationName = getWorkStationName();
|
int result8 = (result7 * 59) + ($workStationName == null ? 43 : $workStationName.hashCode());
|
Object $startTime = getStartTime();
|
int result9 = (result8 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
|
Object $endTime = getEndTime();
|
int result10 = (result9 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
Object $trayCode = getTrayCode();
|
int result11 = (result10 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
|
Object $partCode = getPartCode();
|
int result12 = (result11 * 59) + ($partCode == null ? 43 : $partCode.hashCode());
|
Object $remark = getRemark();
|
return (result12 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
}
|
|
public Long getOrderId() {
|
return this.orderId;
|
}
|
|
public Long getOrderProcessId() {
|
return this.orderProcessId;
|
}
|
|
public Long getWorkStationId() {
|
return this.workStationId;
|
}
|
|
public String getWorkStationName() {
|
return this.workStationName;
|
}
|
|
public Date getStartTime() {
|
return this.startTime;
|
}
|
|
public Date getEndTime() {
|
return this.endTime;
|
}
|
|
public Integer getQualifyNum() {
|
return this.qualifyNum;
|
}
|
|
public Integer getUnqualifyNum() {
|
return this.unqualifyNum;
|
}
|
|
public Integer getWorkTime() {
|
return this.workTime;
|
}
|
|
public String getTrayCode() {
|
return this.trayCode;
|
}
|
|
public String getPartCode() {
|
return this.partCode;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
}
|