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

import cn.axzo.workflow.common.model.request.form.definition.FormFieldsDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 表单定义的响应模型
 *
 * @author wangli
 * @since 2023/7/25 14:00
 */
@ApiModel("表单定义的响应模型")
@Data
public class FormDefinitionVO {
    @ApiModelProperty(value = "模型名称")
    private String name;

    @ApiModelProperty(value = "模型 KEY")
    private String key;

    @ApiModelProperty(value = "自定义分类")
    private String category;

    @ApiModelProperty(value = "版本")
    private Integer version;

    @ApiModelProperty(value = "租户")
    private String tenantId;

    @ApiModelProperty(value = "表单模型字段")
    private List<FormFieldsDTO> fields;

}
