package cn.axzo.workflow.common.model.request.form.definition;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 特殊的模型,对应 Flowable Engine 中的 {@see org.flowable.form.model.SimpleFormModel}
 *
 * @author wangli
 * @since 2023/7/24 22:36
 */
@Data
public class FormDefinitionDTO {
    @ApiModelProperty(value = "表单定义的key", hidden = true)
    private String key;

    @ApiModelProperty(value = "表单定义的名称", hidden = true)
    private String name;

    @ApiModelProperty(value = "表单定义的版本", hidden = true)
    private Integer version;

    @ApiModelProperty(value = "表单定义的具体字段项", example = "[{'': '''}]")
    private List<FormFieldsDTO> fields;

}
