com.hn.dingtalk.domain.ProcessForm Maven / Gradle / Ivy
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