1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// SPDX-FileCopyrightText: 2025-2026 RAprogramm <andrey.rozanov.vl@gmail.com>
// SPDX-License-Identifier: MIT
//! # entity-derive
//!
//! One crate, all features. Re-exports:
//! - [`Entity`] derive macro from `entity-derive-impl`
//! - All types from `entity-core` ([`Pagination`], [`SortDirection`],
//! [`Repository`])
//!
//! # Quick Start
//!
//! ```rust,ignore
//! use entity_derive::{Entity, Pagination};
//!
//! #[derive(Entity)]
//! #[entity(table = "users")]
//! pub struct User {
//! #[id]
//! pub id: Uuid,
//! #[field(create, update, response)]
//! pub name: String,
//! }
//!
//! // Use pagination
//! let page = Pagination::page(0, 25);
//! ```
// Re-export derive macro
// Re-export all core types
pub use *;
pub use Entity;