public function __construct() { $this->addType('smsId', 'integer'); $this->addType('smsDraft', 'boolean'); $this->addType('smsRead', 'boolean'); $this->addType('smsSeen', 'boolean'); }