package com.ruoyi.flowable.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流程模型权限对象 wf_model_permission
 *
 * @author fengcheng
 * @date 2024-07-10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WfModelPermission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流程模型权限id */
    private String modelPermissionId;

    /** 流程模型ID */
    private String modelId;

    /** 权限id */
    private Long permissionId;

    /** 名称 */
    private String name;

    /** 权限类型(1=人员权限,2=部门权限) */
    private String type;
}
