> For the complete documentation index, see [llms.txt](https://timsixths-plugins.gitbook.io/minigameapi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://timsixths-plugins.gitbook.io/minigameapi-docs/basic-features/models.md).

# Models

The model represents one object in YAML or database.

The model is updatable, savable, and deletable.

Every model must have a field that will be annotated Id or IdSection annotation

```java
Object save(); //Saves new model to database or file

boolean delete(); //Deletes model from file or table

Object update(); //Updates new model to database or file
```
