src/Colorium/Orm/Mapper/Entity.php
public function set($field, $type, $nullable = true, $default = null, $primary = false)
    {
        $this->fields[$field] = new Entity\Field($field, $type, $nullable, $default, $primary);

        return $this;
    }
public function set($field, $type, $nullable = true, $default = null, $primary = false)
    {
        $this->fields[$field] = new Entity\Field($field, $type, $nullable, $default, $primary);

        return $this;
    }
Define field

@param string $field
@param string $type
@param bool $nullable
@param mixed $default
@param bool $primary
@return $this