// @generated — do not edit
import { defineLifecycle } from "@tailor-platform/erp-kit/core";

export const budgetLifecycle = defineLifecycle({
    submit: { from: ["DRAFT"], to: "SUBMITTED" },
    approve: { from: ["SUBMITTED"], to: "APPROVED" },
    reject: { from: ["SUBMITTED"], to: "DRAFT" },
    activate: { from: ["APPROVED"], to: "ACTIVE" },
    close: { from: ["ACTIVE"], to: "CLOSED" },
});

export type BudgetStatus = typeof budgetLifecycle.states[number];
