/*
 * Copyright 2017 flow.ci
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.flow.platform.api.domain;

/**
 * @author yh@firim
 */
public class YmlStorage {
    private String nodePath;

    private String file;

    public String getNodePath() {
        return nodePath;
    }

    public void setNodePath(String nodePath) {
        this.nodePath = nodePath;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }
}

@@ -1015,11 +1015,855 @@
 e;%0A    %7D
+%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) %7B%0A            return true;%0A        %7D%0A        if (o == null %7C%7C getClass() != o.getClass()) %7B%0A            return false;%0A        %7D%0A%0A        YmlStorage that = (YmlStorage) o;%0A%0A        if (nodePath != null ? !nodePath.equals(that.nodePath) : that.nodePath != null) %7B%0A            return false;%0A        %7D%0A        return file != null ? file.equals(that.file) : that.file == null;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int result = nodePath != null ? nodePath.hashCode() : 0;%0A        result = 31 * result + (file != null ? file.hashCode() : 0);%0A        return result;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22YmlStorage%7B%22 +%0A            %22nodePath='%22 + nodePath + '%5C'' +%0A            %22, file='%22 + file + '%5C'' +%0A            '%7D';%0A    %7D
 %0A%7D%0A

add equal && hashcode