# `Poney.Model.Field`
[🔗](https://github.com/hattoriai/poney-elixir/blob/v0.1.0/lib/poney/model/field.ex#L1)

A field of a data type (§5.3). `references` is its foreign key, when it has one.

# `t`

```elixir
@type t() :: %Poney.Model.Field{
  description: String.t() | nil,
  name: String.t(),
  nullable: boolean(),
  primary_key: boolean(),
  references: Poney.Model.ForeignKey.t() | nil,
  type: String.t(),
  unique: boolean()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
