# UIAwesome\Model\Attribute

> 7 classes of the UIAwesome\Model\Attribute namespace.

[API reference](/docs/api/index.md) › [Model](/docs/extensions/model/reference/index.md) › Attribute

## Classes

| Class | Summary |
| --- | --- |
| [`Cast`](/docs/extensions/model/reference/attribute/cast/index.md) final readonly | Forces custom casting before native property type casting. |
| [`DefaultValue`](/docs/extensions/model/reference/attribute/defaultvalue/index.md) final readonly | Applies a runtime default when assigned input is `null` or an empty string. |
| [`DoNotCollect`](/docs/extensions/model/reference/attribute/donotcollect/index.md) final | Excludes a property from automatic type collection. |
| [`MapFrom`](/docs/extensions/model/reference/attribute/mapfrom/index.md) final readonly | Maps a model property from an explicit input key. |
| [`NoSnakeCase`](/docs/extensions/model/reference/attribute/nosnakecase/index.md) final | Prevents key conversion to snake_case during array serialization. |
| [`Timestamp`](/docs/extensions/model/reference/attribute/timestamp/index.md) final | Marks a property as a timestamp field initialized on assignment. |
| [`Trim`](/docs/extensions/model/reference/attribute/trim/index.md) final | Trims leading and trailing whitespace from string input before assignment. |