package com.yunzhupaas.flowable.model.templatenode.nodejson;

import io.swagger.v3.oas.annotations.media.Schema;
import com.yunzhupaas.emnus.TemplateEnum;
import lombok.Data;

/**
 * 解析引擎
 *
 * @author 云筑产品开发平台组
 * @version V3.1.0
 * @copyright 深圳市乐程软件有限公司
 */
@Data
public class TemplateJsonModel {

    @Schema(description = "字段")
    public String field;
    @Schema(description = "名称")
    public String fieldName;
    @Schema(description = "字段")
    public String relationField;
    @Schema(description = "主键")
    private String id;
    @Schema(description = "是否子流程")
    private Boolean isSubTable = false;
    @Schema(description = "消息主键")
    private String msgTemplateId;
    @Schema(description = "默认值")
    private String defaultValue;
    @Schema(description = "参数来源")
    private Integer sourceType = TemplateEnum.Field.getCode();

}

