> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/marcosfabricio3/simple-manager-mobile/llms.txt
> Use this file to discover all available pages before exploring further.

# Records

> Understanding records in Simple Manager Mobile

## Overview

Records are the core data entity in Simple Manager Mobile. Each record represents an item that users can create, manage, and track within the application.

## Record Interface

The `Record` interface defines the structure of all records in the system:

```typescript theme={null}
export interface Record {
    id: string;
    title: string;
    subtitle?: string;
    metadata?: string;
    type: string;
    userId?: string;
    createdAt: string;
    updatedAt: string;
    isDeleted: boolean;
}
```

## Fields

<ParamField path="id" type="string" required>
  Unique identifier for the record. Generated automatically when a record is created.
</ParamField>

<ParamField path="title" type="string" required>
  The main title of the record. Must be between 3 and 50 characters. Cannot be empty or duplicated.
</ParamField>

<ParamField path="subtitle" type="string">
  Optional subtitle providing additional context for the record.
</ParamField>

<ParamField path="metadata" type="string">
  Optional metadata field for storing additional information about the record.
</ParamField>

<ParamField path="type" type="string" required>
  The type or category of the record. Must be at least 3 characters long.
</ParamField>

<ParamField path="userId" type="string">
  Optional identifier linking the record to a specific user.
</ParamField>

<ParamField path="createdAt" type="string" required>
  ISO timestamp indicating when the record was created.
</ParamField>

<ParamField path="updatedAt" type="string" required>
  ISO timestamp indicating when the record was last updated.
</ParamField>

<ParamField path="isDeleted" type="boolean" required>
  Soft delete flag. When `true`, the record is marked as deleted but remains in the database.
</ParamField>

## Usage Example

```typescript theme={null}
const record: Record = {
    id: "uuid-123",
    title: "Project Meeting",
    subtitle: "Weekly team sync",
    metadata: JSON.stringify({ location: "Room 301" }),
    type: "meeting",
    userId: "user-456",
    createdAt: "2026-03-12T10:00:00Z",
    updatedAt: "2026-03-12T10:00:00Z",
    isDeleted: false
};
```

## Related Topics

* [Data Model](/concepts/data-model)
* [Validation](/concepts/validation)
* [Database](/concepts/database)
