# Pattern: CRUD slice For a resource `Foo`: 1. Migration `foo` table (`id, created_at, updated_at, deleted_at`, …) 2. `model.Foo` 3. `repository` methods: Get / List / Create / Update / SoftDelete 4. `service` with authz + validation 5. `handler` REST routes 6. OpenAPI paths 7. SDK methods + types 8. UI only if user-facing List endpoints always paginate (`page`, `page_size`, `total`).