zino-derive 0.37.2

Derived traits for zino.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Derives the [`Entity`](zino_orm::Entity) trait.

# Attributes on struct fields


- **`#[schema(primary_key)]`**: The `primary_key` annotation is used to
  mark a column as the primary key.

- **`#[schema(column_name = "name")]`**: All column names are assumed to be in **snake-case**.
  You can override it by specifying the `column_name` attribute.

- **`#[schema(editable)]`**: The `editable` annotation indicates that
  the column value can be updated by the frontend input.

- **`#[schema(generated)]`**: The `generated` annotation indicates that
  the column value is generated by the backend and do not need any frontend input.