/**
  * @param string      $name
  * @param int         $precision
  * @param int         $scale
  * @param bool|null   $unique
  * @param bool|null   $nullable
  * @param string|null $columnName
  * @param string|null $columnDefinition
  * @param array|null  $options
  */
 public function __construct($name, $precision = null, $scale = null, $unique = null, $nullable = null, $columnName = null, $columnDefinition = null, array $options = null)
 {
     parent::__construct($name, $unique, $nullable, $columnName, $columnDefinition, $options);
     $this->precision = $precision;
     $this->scale = $scale;
 }
 /**
  * @param string $name
  * @param string $targetModel
  */
 public function __construct($name, $targetModel)
 {
     parent::__construct($name);
     $this->targetModel = $targetModel;
 }
 public function __construct($name, $class)
 {
     parent::__construct($name);
     $this->class = $class;
 }
 /**
  * @param string      $name
  * @param int|null    $length
  * @param bool|null   $unique
  * @param bool|null   $nullable
  * @param string|null $columnName
  * @param string|null $columnDefinition
  * @param array|null  $options
  */
 public function __construct($name, $length = null, $unique = null, $nullable = null, $columnName = null, $columnDefinition = null, array $options = null)
 {
     parent::__construct($name, $unique, $nullable, $columnName, $columnDefinition, $options);
     $this->length = $length;
 }