package com.qianwen.smartman.modules.cps.dto;
|
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/WorkstationDTO.class */
|
public class WorkstationDTO implements Serializable {
|
private Long id;
|
private String code;
|
private String name;
|
private String calendarCode;
|
private Long createDept;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/WorkstationDTO$WorkstationDTOBuilder.class */
|
public static class WorkstationDTOBuilder {
|
private Long id;
|
private String code;
|
private String name;
|
private String calendarCode;
|
private Long createDept;
|
|
WorkstationDTOBuilder() {
|
}
|
|
public WorkstationDTOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public WorkstationDTOBuilder code(final String code) {
|
this.code = code;
|
return this;
|
}
|
|
public WorkstationDTOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public WorkstationDTOBuilder calendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
return this;
|
}
|
|
public WorkstationDTOBuilder createDept(final Long createDept) {
|
this.createDept = createDept;
|
return this;
|
}
|
|
public WorkstationDTO build() {
|
return new WorkstationDTO(this.id, this.code, this.name, this.calendarCode, this.createDept);
|
}
|
|
public String toString() {
|
return "WorkstationDTO.WorkstationDTOBuilder(id=" + this.id + ", code=" + this.code + ", name=" + this.name + ", calendarCode=" + this.calendarCode + ", createDept=" + this.createDept + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setCalendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
}
|
|
public void setCreateDept(final Long createDept) {
|
this.createDept = createDept;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationDTO) {
|
WorkstationDTO other = (WorkstationDTO) 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$createDept = getCreateDept();
|
Object other$createDept = other.getCreateDept();
|
if (this$createDept == null) {
|
if (other$createDept != null) {
|
return false;
|
}
|
} else if (!this$createDept.equals(other$createDept)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$calendarCode = getCalendarCode();
|
Object other$calendarCode = other.getCalendarCode();
|
return this$calendarCode == null ? other$calendarCode == null : this$calendarCode.equals(other$calendarCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationDTO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $createDept = getCreateDept();
|
int result2 = (result * 59) + ($createDept == null ? 43 : $createDept.hashCode());
|
Object $code = getCode();
|
int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $calendarCode = getCalendarCode();
|
return (result4 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationDTO(id=" + getId() + ", code=" + getCode() + ", name=" + getName() + ", calendarCode=" + getCalendarCode() + ", createDept=" + getCreateDept() + ")";
|
}
|
|
public static WorkstationDTOBuilder builder() {
|
return new WorkstationDTOBuilder();
|
}
|
|
public WorkstationDTO(final Long id, final String code, final String name, final String calendarCode, final Long createDept) {
|
this.id = id;
|
this.code = code;
|
this.name = name;
|
this.calendarCode = calendarCode;
|
this.createDept = createDept;
|
}
|
|
public WorkstationDTO() {
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getCalendarCode() {
|
return this.calendarCode;
|
}
|
|
public Long getCreateDept() {
|
return this.createDept;
|
}
|
}
|