model field error

I add a field at a table at my database,and I add manually at my model the field

* @property string  $floor


 [['floor'], 'required'],

and at "new" form I add this code,but I have the error Getting unknown property: app\models\Buildobjects::floor

How can I fix it?

<?= $form->field($model, 'floor')->dropDownList(


   ['prompt' => 'Set floor']);?>

[edit]I set capital the first letter bellow at my table and it worked at my apache!

public static function tableName() {

        return 'Buildobjects';


Is the question closed?

I will try it and at the linux server tomorrow