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

org.sdn.api.service.business.request.ship.BusinessShipBatchNotifyReqDTO 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;

/**
 * 业务订购关系批量通知更新
 *
 * @author:fulong
 * @create:2018/11/26 18:09.
 */
public class BusinessShipBatchNotifyReqDTO {

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


    /**
     * 添加订购关系信息
     *
     * @param ship
     * @return
     */
    public BusinessShipBatchNotifyReqDTO 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