{
    "project_name": "Barbearia do Rafa",
    "tagline": "Gestão simples e completa para o seu negócio.",
    "project_type": "web_app",
    "stack": "php-8.2+mysql+bootstrap-5",
    "version": 1,
    "modules": [
        "auth",
        "users",
        "settings",
        "clients",
        "appointments",
        "financial"
    ],
    "pages": [],
    "entities": [
        {
            "table": "clients",
            "label": "Clientes",
            "label_singular": "Cliente",
            "icon": "people",
            "fields": [
                {
                    "name": "name",
                    "label": "Nome",
                    "type": "string",
                    "required": true,
                    "options": []
                },
                {
                    "name": "phone",
                    "label": "WhatsApp",
                    "type": "phone",
                    "required": true,
                    "options": []
                },
                {
                    "name": "email",
                    "label": "E-mail",
                    "type": "email",
                    "required": false,
                    "options": []
                },
                {
                    "name": "notes",
                    "label": "Preferências",
                    "type": "text",
                    "required": false,
                    "options": []
                }
            ]
        },
        {
            "table": "services",
            "label": "Serviços",
            "label_singular": "Serviço",
            "icon": "scissors",
            "fields": [
                {
                    "name": "name",
                    "label": "Serviço",
                    "type": "string",
                    "required": true,
                    "options": []
                },
                {
                    "name": "price",
                    "label": "Preço",
                    "type": "money",
                    "required": true,
                    "options": []
                },
                {
                    "name": "duration_minutes",
                    "label": "Duração (min)",
                    "type": "integer",
                    "required": false,
                    "options": []
                }
            ]
        },
        {
            "table": "appointments",
            "label": "Agenda",
            "label_singular": "Agendamento",
            "icon": "calendar-week",
            "fields": [
                {
                    "name": "client_id",
                    "label": "Cliente",
                    "type": "integer",
                    "required": true,
                    "options": []
                },
                {
                    "name": "service_id",
                    "label": "Serviço",
                    "type": "integer",
                    "required": true,
                    "options": []
                },
                {
                    "name": "scheduled_at",
                    "label": "Horário",
                    "type": "datetime",
                    "required": true,
                    "options": []
                },
                {
                    "name": "status",
                    "label": "Status",
                    "type": "select",
                    "required": true,
                    "options": [
                        "Agendado",
                        "Concluído",
                        "Faltou",
                        "Cancelado"
                    ]
                }
            ]
        },
        {
            "table": "transactions",
            "label": "Financeiro",
            "label_singular": "Lançamento",
            "icon": "wallet2",
            "fields": [
                {
                    "name": "description",
                    "label": "Descrição",
                    "type": "string",
                    "required": true,
                    "options": []
                },
                {
                    "name": "amount",
                    "label": "Valor",
                    "type": "money",
                    "required": true,
                    "options": []
                },
                {
                    "name": "kind",
                    "label": "Tipo",
                    "type": "select",
                    "required": true,
                    "options": [
                        "Receita",
                        "Despesa"
                    ]
                },
                {
                    "name": "date",
                    "label": "Data",
                    "type": "date",
                    "required": true,
                    "options": []
                }
            ]
        }
    ],
    "routes": [
        "dashboard",
        "users",
        "clients",
        "services",
        "appointments",
        "transactions"
    ],
    "permissions": {
        "admin": [
            "*"
        ],
        "user": [
            "clients",
            "services",
            "appointments",
            "transactions"
        ]
    },
    "design": {
        "font": "Plus Jakarta Sans",
        "sidebar_style": "dark",
        "dashboard": {
            "welcome_title": "Bem-vindo ao Barbearia do Rafa",
            "welcome_text": "Gestão simples e completa para o seu negócio.",
            "kpis": [
                {
                    "label": "Clientes",
                    "table": "clients",
                    "icon": "people"
                },
                {
                    "label": "Serviços",
                    "table": "services",
                    "icon": "scissors"
                },
                {
                    "label": "Agenda",
                    "table": "appointments",
                    "icon": "calendar-week"
                },
                {
                    "label": "Financeiro",
                    "table": "transactions",
                    "icon": "wallet2"
                }
            ]
        },
        "pages": {
            "clients": {
                "layout": "table",
                "subtitle": "Gerencie clientes."
            },
            "services": {
                "layout": "cards",
                "subtitle": "Gerencie serviços."
            },
            "appointments": {
                "layout": "table",
                "subtitle": "Gerencie agenda."
            },
            "transactions": {
                "layout": "table",
                "subtitle": "Gerencie financeiro."
            }
        }
    },
    "created_at": "2026-09-30T01:19:06+00:00"
}