ManyEmptyDomain.java 2.52 KB
package com.huaheng.api.wcs.domain;

import java.util.Objects;

public class ManyEmptyDomain {

    private String containerCode;
    private String length;
    private String width;
    private String height;
    private String weight;
    private String roadWay;
    private String area;
    private String warehouseCode;
    private String port;

    public String getContainerCode() {
        return containerCode;
    }

    public void setContainerCode(String containerCode) {
        this.containerCode = containerCode;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }


    public String getRoadWay() {
        return roadWay;
    }

    public void setRoadWay(String roadWay) {
        this.roadWay = roadWay;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ManyEmptyDomain that = (ManyEmptyDomain) o;
        return Objects.equals(containerCode, that.containerCode) &&
                Objects.equals(length, that.length) &&
                Objects.equals(width, that.width) &&
                Objects.equals(height, that.height) &&
                Objects.equals(weight, that.weight) &&
                Objects.equals(roadWay, that.roadWay) &&
                Objects.equals(area, that.area) &&
                Objects.equals(warehouseCode, that.warehouseCode) &&
                Objects.equals(port, that.port);
    }

    @Override
    public int hashCode() {
        return Objects.hash(containerCode, length, width, height, weight, roadWay, area, warehouseCode, port);
    }
}