package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @ApiModel(value = "ShiftOffDayVo对象", description = "班次休息日") public class OffDayUpdateVO extends ShiftOffDayAddVO { private static final long serialVersionUID = 4565143020886895501L; @ApiModelProperty(value = "主键", dataType = "java.lang.String") private Long id; public void setId(final Long id) { this.id = id; } @Override // org.springblade.modules.cps.vo.ShiftOffDayAddVO public String toString() { return "OffDayUpdateVO(id=" + getId() + ")"; } @Override // org.springblade.modules.cps.vo.ShiftOffDayAddVO public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof OffDayUpdateVO) { OffDayUpdateVO other = (OffDayUpdateVO) o; if (other.canEqual(this) && super.equals(o)) { Object this$id = getId(); Object other$id = other.getId(); return this$id == null ? other$id == null : this$id.equals(other$id); } return false; } return false; } @Override // org.springblade.modules.cps.vo.ShiftOffDayAddVO protected boolean canEqual(final Object other) { return other instanceof OffDayUpdateVO; } @Override // org.springblade.modules.cps.vo.ShiftOffDayAddVO public int hashCode() { int result = super.hashCode(); Object $id = getId(); return (result * 59) + ($id == null ? 43 : $id.hashCode()); } public Long getId() { return this.id; } }