> For the complete documentation index, see [llms.txt](https://smuddgge.gitbook.io/squishy-database/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smuddgge.gitbook.io/squishy-database/creating-a-table.md).

# Creating a Table

In this class you can create your own custom getters and setters.

**Design Tables**

```java
/**
 * <h1>Represents the customer table</h1>
 */
public class CustomerTable extends TableAdapter<Customer> {

    @Override
    public @NotNull String getName() {
        return "Customer";
    }
}
```

```java
/**
 * <h1>Represents a purchase table</h1>
 */
public class PurchaseTable extends TableAdapter<Purchase> {

    @Override
    public @NotNull String getName() {
        return "Purchase";
    }
}
```

**Add to the Database**

```java
CustomerTable customerTable = new CustomerTable();
database.createTable(customerTable);

PurchaseTable purchaseTable = new PurchaseTable();
database.createTable(purchaseTable);
```
