> For the complete documentation index, see [llms.txt](https://fivesobes.gitbook.io/nexorm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivesobes.gitbook.io/nexorm/column/what-is-column.md).

# What is Column?

Column is a decorator that adds a column to the database table. You can define a column by adding the <mark style="color:purple;">**`@Column`**</mark> decorator to a class property within a schema.

```typescript
/* ./schemas/photo.ts */
import { Schema, Column, Unique, Default } from 'nexorm/decorators';

@Schema
class PhotoSchema {

@Column
@Unique
static photoId = String;

@Column
static photo = Buffer;

@Column
@Default(new Date())
static date = Date;

};
```

[Click here](/nexorm/column/decorators.md) to see other decorators available with <mark style="color:purple;">**`@Column`**</mark>
