annotations library
Classes
- Column
- Associates a field with a database column.
- Convert
- Specifies a custom converter for a field.
- CreatedAt
- Indicates that a field should automatically store the creation timestamp.
- Database
- Indicates the database definition the annotated class is associated with.
- DatapodPluginDef
- Indicates a class is a Datapod plugin definition.
- Entity
- Associates a class with a database table.
- FetchJoin
- Indicates that the specified property should be eagerly fetched using a JOIN.
- Id
- Indicates the primary key field.
- Index
- Indicates that a field or a combination of fields should be indexed.
- JoinColumn
- Overrides default foreign key column naming for a relationship.
- ManyToOne
- Defines a many-to-one relationship.
- OneToMany
- Defines a one-to-many relationship.
- OneToOne
- Defines a one-to-one relationship.
- Query
- Indicates a custom SQL query to execute for a repository method.
- Repository
- Indicates a repository interface for code generation.
- Unique
- Indicates that a field or a combination of fields must be unique.
- UpdatedAt
- Indicates that a field should automatically store the last update timestamp.
Enums
- CascadeType
- Propagation of operations across relationships.
- FetchType
- Strategy for fetching associated entities.