# 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);
```
