import { RoleMap } from "@prisma/client";
import { StaffDto } from "./staff";

export interface ResPerm {
    instruction?: boolean;
    createProgress?: boolean;
    requestCancel?: boolean;
    acceptCancel?: boolean;

    conclude?: boolean;
    createRisk?: boolean;
    editIndicator?: boolean;
    editMethod?: boolean;
    editOrg?: boolean;

    edit?: boolean;
    delete?: boolean;
    read?: boolean;
}
export type RoleMapDto = RoleMap & {
    staff: StaffDto;
};