Maslosoft Framework Logo Maslosoft Framework Documentation
Flexible Application Foundation


Model Name Annotation

Use this annotation to indicate attribute, which is used as primary or name.

This should provide human-readable attribute value.

This annotation does not take any arguments. It should be placed on only one attribute, as any subsequent ModelName annotation will override previous value.

Example:

@ModelName
public $userName = ''