package com.tykj.workflowcore.api.entity;

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

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EntityInfo {

    @ApiModelProperty(value = "类名")
    private String className;

    @ApiModelProperty(value = "参数名")
    private String name;

    /**
     * 方便前端加的字段
     */
    @ApiModelProperty(value = "表达式")
    private String exp;

    @ApiModelProperty(value = "变量信息")
    private List<EntityInfo> fields;

    @ApiModelProperty(value = "描述信息")
    private String description;
}
