array( 'type' => 'bigint', ), 'campaign_id' => array( 'type' => 'bigint', 'required' => true, ), 'ad_space_id' => array( 'type' => 'bigint', 'required' => true, ), 'display_order' => array( 'type' => 'int', 'default' => 0, ), 'status' => array( 'type' => 'string', 'default' => 'active', ), 'created_at' => array( 'type' => 'datetime', 'nullable' => true, ), 'updated_at' => array( 'type' => 'datetime', 'nullable' => true, ), ); } public static function table() { return static::TABLE; } }