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;
|
import javax.validation.constraints.NotNull;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationChangeCalendarVO.class */
|
public class WorkstationChangeCalendarVO implements Serializable {
|
private static final long serialVersionUID = -8474615909932057153L;
|
@NotNull(message = "workstation.workstationId.notNull")
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty(value = "工位id", required = true)
|
private Long workstationId;
|
@NotNull(message = "workstation.calendarCodeWaiting.notNull")
|
@ApiModelProperty(value = "代生效生产日历编号", required = true)
|
private String calendarCodeWaiting;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationChangeCalendarVO$WorkstationChangeCalendarVOBuilder.class */
|
public static class WorkstationChangeCalendarVOBuilder {
|
private Long workstationId;
|
private String calendarCodeWaiting;
|
|
WorkstationChangeCalendarVOBuilder() {
|
}
|
|
public WorkstationChangeCalendarVOBuilder workstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public WorkstationChangeCalendarVOBuilder calendarCodeWaiting(final String calendarCodeWaiting) {
|
this.calendarCodeWaiting = calendarCodeWaiting;
|
return this;
|
}
|
|
public WorkstationChangeCalendarVO build() {
|
return new WorkstationChangeCalendarVO(this.workstationId, this.calendarCodeWaiting);
|
}
|
|
public String toString() {
|
return "WorkstationChangeCalendarVO.WorkstationChangeCalendarVOBuilder(workstationId=" + this.workstationId + ", calendarCodeWaiting=" + this.calendarCodeWaiting + ")";
|
}
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setCalendarCodeWaiting(final String calendarCodeWaiting) {
|
this.calendarCodeWaiting = calendarCodeWaiting;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationChangeCalendarVO) {
|
WorkstationChangeCalendarVO other = (WorkstationChangeCalendarVO) o;
|
if (other.canEqual(this)) {
|
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$calendarCodeWaiting = getCalendarCodeWaiting();
|
Object other$calendarCodeWaiting = other.getCalendarCodeWaiting();
|
return this$calendarCodeWaiting == null ? other$calendarCodeWaiting == null : this$calendarCodeWaiting.equals(other$calendarCodeWaiting);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationChangeCalendarVO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $calendarCodeWaiting = getCalendarCodeWaiting();
|
return (result * 59) + ($calendarCodeWaiting == null ? 43 : $calendarCodeWaiting.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationChangeCalendarVO(workstationId=" + getWorkstationId() + ", calendarCodeWaiting=" + getCalendarCodeWaiting() + ")";
|
}
|
|
public static WorkstationChangeCalendarVOBuilder builder() {
|
return new WorkstationChangeCalendarVOBuilder();
|
}
|
|
public WorkstationChangeCalendarVO(final Long workstationId, final String calendarCodeWaiting) {
|
this.workstationId = workstationId;
|
this.calendarCodeWaiting = calendarCodeWaiting;
|
}
|
|
public WorkstationChangeCalendarVO() {
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getCalendarCodeWaiting() {
|
return this.calendarCodeWaiting;
|
}
|
}
|