package cn.fateverse.workflow.entity;

import cn.fateverse.workflow.enums.FormPermEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 表单权限对象
 *
 * @author Clay
 * @date 2022/12/24
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FormPerm {
    /**
     * todo 前端生成id,后期改为itemId
     */
    private String id;

    /**
     * 实例id
     */
    private String deploymentId;

    /**
     * task的表单权限key
     */
    private String fromKey;
    /**
     * 表单权限
     */
    private Boolean required;
    /**
     * 图标
     */
    private FormPermEnum perm;
}
