Location: PHPKode > projects > Agile Toolkit > atk4-atk4-addons-5a69383/misc/lib/Model/Feedback.php
<?php
class Model_Feedback extends Model_Table {
	public $entity_code='feedback';
	public $table_alias='fb';

	function init(){
		parent::init();
		$this->addField('name')->caption('Your Name');
		$this->addField('ref')->system(true);
		$this->addField('descr')->caption('Suggestion or Feedback')->datatype('text');
		$this->addField('date')->system(true)->defaultValue(date('Y-m-d'));
	}
}
Return current item: Agile Toolkit