package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import com.qianwen.smartman.modules.smis.dto.KeyNameDTO; @ApiModel(value = "ShiftIndexNameVO", description = "班次名称VO") public class ShiftIndexNameVO implements Serializable { private static final long serialVersionUID = -3251941188539536021L; @ApiModelProperty("key-name") private List keyNameDTOList; public static class ShiftIndexNameVOBuilder { private List keyNameDTOList; ShiftIndexNameVOBuilder() { } public ShiftIndexNameVOBuilder keyNameDTOList(final List keyNameDTOList) { this.keyNameDTOList = keyNameDTOList; return this; } public ShiftIndexNameVO build() { return new ShiftIndexNameVO(this.keyNameDTOList); } public String toString() { return "ShiftIndexNameVO.ShiftIndexNameVOBuilder(keyNameDTOList=" + this.keyNameDTOList + ")"; } } public void setKeyNameDTOList(final List keyNameDTOList) { this.keyNameDTOList = keyNameDTOList; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ShiftIndexNameVO) { ShiftIndexNameVO other = (ShiftIndexNameVO) o; if (other.canEqual(this)) { Object this$keyNameDTOList = getKeyNameDTOList(); Object other$keyNameDTOList = other.getKeyNameDTOList(); return this$keyNameDTOList == null ? other$keyNameDTOList == null : this$keyNameDTOList.equals(other$keyNameDTOList); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ShiftIndexNameVO; } public int hashCode() { Object $keyNameDTOList = getKeyNameDTOList(); int result = (1 * 59) + ($keyNameDTOList == null ? 43 : $keyNameDTOList.hashCode()); return result; } public String toString() { return "ShiftIndexNameVO(keyNameDTOList=" + getKeyNameDTOList() + ")"; } public static ShiftIndexNameVOBuilder builder() { return new ShiftIndexNameVOBuilder(); } public ShiftIndexNameVO() { } public ShiftIndexNameVO(final List keyNameDTOList) { this.keyNameDTOList = keyNameDTOList; } public List getKeyNameDTOList() { return this.keyNameDTOList; } }