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

com.hn.dingtalk.domain.ProcessForm Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
package com.hn.dingtalk.domain;

import com.dingtalk.api.request.OapiProcessinstanceCreateRequest;

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

/**
 * 描述:
 *
 * @author fei
 * 2019-06-27 12:07
 */
public class ProcessForm {

    private List formComponentValues =
            new ArrayList<>();

    public ProcessForm put(String name, String value){
        OapiProcessinstanceCreateRequest.FormComponentValueVo vo = new OapiProcessinstanceCreateRequest.FormComponentValueVo();
        vo.setName(name);
        vo.setValue(value);
        formComponentValues.add(vo);
        return this;
    }

    public List getList(){
        return formComponentValues;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy