package cn.stylefeng.team.form.api.entity.data;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;

import java.util.List;

@Data
public class FormItemDataLoad {

    @ChineseDescription("数据加载类型：1-静态数据，2-API调用数据，3-当前用户信息")
    private Integer dataLoadType;

    @ChineseDescription("静态数据")
    private String staticData;

    @ChineseDescription("API调用地址")
    private String apiUrl;

    @ChineseDescription("HTTP方法，小写的get和post")
    private String httpMethod;

    @ChineseDescription("API请求参数列表")
    private List<ApiRequestParam> apiRequestParamList;

    @ChineseDescription("当前用户信息的字段名")
    private String userInfoFieldName;

}
