All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sdn.api.service.business.request.ship.BusinessShipBatchOperationReqDTO Maven / Gradle / Ivy

There is a newer version: 1.2.2.2-RELEASE
Show newest version
package org.sdn.api.service.business.request.ship;

import java.util.ArrayList;
import java.util.List;

/**
 * 业务订购单个批量请求DTO
 *
 * @author:fulong
 * @create:2018/11/26 18:09.
 */
public class BusinessShipBatchOperationReqDTO {

    /**
     * 业务订购关系列表
     */
    private List shipList;



    /**
     * 添加订购关系信息
     *
     * @param ship
     * @return
     */
    public BusinessShipBatchOperationReqDTO addShip(BusinessShipReqDTO ship) {
        if (this.shipList == null) {
            this.shipList = new ArrayList<>();
        }
        this.shipList.add(ship);
        return this;
    }

    public List getShipList() {
        return shipList;
    }

    public void setShipList(List shipList) {
        this.shipList = shipList;
    }

    @Override
    public String toString() {
        return "BusinessShipBatchOrderReqDTO{" +
                "shipList=" + shipList +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy