- Removed 'description' property and moved it into an appropriate attribute from lean-api package
This commit is contained in:
parent
411992c7a8
commit
ec4d02b9d9
|
@ -14,6 +14,5 @@ class Field {
|
|||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public null|int $decimal = null,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,5 @@ class Bigint extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Bit extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Blob extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -13,6 +13,5 @@ class CreatedAt extends \Ulmus\Attribute\Property\Field {
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,5 @@ class Date extends \Ulmus\Attribute\Property\Field {
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,5 @@ class Datetime extends \Ulmus\Attribute\Property\Field {
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,5 @@ class Decimal extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Float extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -26,7 +26,6 @@ class ForeignKey extends PrimaryKey {
|
|||
public null|string $relation = null,
|
||||
public ConstrainActionEnum $onDelete = ConstrainActionEnum::NoAction,
|
||||
public ConstrainActionEnum $onUpdate = ConstrainActionEnum::NoAction,
|
||||
public string $description = "",
|
||||
) {
|
||||
#$this->references = Attribute::handleArrayField($this->references, false);
|
||||
}
|
||||
|
|
|
@ -17,6 +17,5 @@ class Id extends \Ulmus\Attribute\Property\Field {
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,5 @@ class Longblob extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Longtext extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Mediumblob extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Mediumint extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Mediumtext extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Numeric extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -16,6 +16,5 @@ class PrimaryKey extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,5 @@ class Smallint extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Text extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -12,6 +12,5 @@ class Time extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,5 @@ class Timestamp extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,5 @@ class Blob extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Tinyint extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -14,6 +14,5 @@ class Tinytext extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
|
@ -15,6 +15,5 @@ class UpdatedAt extends \Ulmus\Attribute\Property\Field
|
|||
public bool $nullable = true,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue